import { Id, NullableId, Params, ServiceInterface } from '@feathersjs/feathers'; interface ServiceOptions { name: string; connection: any; method: string; events?: string[]; } export type SocketService, P extends Params = Params> = Service; export declare class Service, P extends Params = Params> implements ServiceInterface { events: string[]; path: string; connection: any; method: string; constructor(options: ServiceOptions); send(method: string, ...args: any[]): Promise; methods(this: any, ...names: string[]): any; _find(params?: Params): Promise; find(params?: Params): Promise; _get(id: Id, params?: Params): Promise; get(id: Id, params?: Params): Promise; _create(data: D, params?: Params): Promise; create(data: D, params?: Params): Promise; _update(id: NullableId, data: D, params?: Params): Promise; update(id: NullableId, data: D, params?: Params): Promise; _patch(id: NullableId, data: D, params?: Params): Promise; patch(id: NullableId, data: D, params?: Params): Promise; _remove(id: NullableId, params?: Params): Promise; remove(id: NullableId, params?: Params): Promise; off(name: string, ...args: any[]): any; } export {};