import type * as grpc from '@grpc/grpc-js' ; import type { MethodDefinition } from '@grpc/proto-loader' ; import type { CodeSearchResult as _livegrep_CodeSearchResult , CodeSearchResult__Output as _livegrep_CodeSearchResult__Output , } from '../livegrep/CodeSearchResult' ; import type { InfoRequest as _livegrep_InfoRequest , InfoRequest__Output as _livegrep_InfoRequest__Output , } from '../livegrep/InfoRequest' ; import type { Query as _livegrep_Query , Query__Output as _livegrep_Query__Output , } from '../livegrep/Query' ; import type { ServerInfo as _livegrep_ServerInfo , ServerInfo__Output as _livegrep_ServerInfo__Output , } from '../livegrep/ServerInfo' ; export interface CodeSearchClient extends grpc . Client { Info ( argument , metadata , options , callback ) : grpc . ClientUnaryCall ; Info ( argument , metadata , callback ) : grpc . ClientUnaryCall ; Info ( argument , options , callback ) : grpc . ClientUnaryCall ; Info ( argument , callback ) : grpc . ClientUnaryCall ; info ( argument , metadata , options , callback ) : grpc . ClientUnaryCall ; info ( argument , metadata , callback ) : grpc . ClientUnaryCall ; info ( argument , options , callback ) : grpc . ClientUnaryCall ; info ( argument , callback ) : grpc . ClientUnaryCall ; Search ( argument , metadata , options , callback ) : grpc . ClientUnaryCall ; Search ( argument , metadata , callback ) : grpc . ClientUnaryCall ; Search ( argument , options , callback ) : grpc . ClientUnaryCall ; Search ( argument , callback ) : grpc . ClientUnaryCall ; search ( argument , metadata , options , callback ) : grpc . ClientUnaryCall ; search ( argument , metadata , callback ) : grpc . ClientUnaryCall ; search ( argument , options , callback ) : grpc . ClientUnaryCall ; search ( argument , callback ) : grpc . ClientUnaryCall ; } export interface CodeSearchHandlers extends grpc . UntypedServiceImplementation { Info : grpc . handleUnaryCall < _livegrep_InfoRequest__Output , _livegrep_ServerInfo > ; Search : grpc . handleUnaryCall < _livegrep_Query__Output , _livegrep_CodeSearchResult > ; } export interface CodeSearchDefinition extends grpc . ServiceDefinition { Info : MethodDefinition < _livegrep_InfoRequest , _livegrep_ServerInfo , _livegrep_InfoRequest__Output , _livegrep_ServerInfo__Output > ; Search : MethodDefinition < _livegrep_Query , _livegrep_CodeSearchResult , _livegrep_Query__Output , _livegrep_CodeSearchResult__Output > ; }