import type { ClientSchema, ServerFunctionHandler } from "prostgles-types";
import type { InitOptions } from "./prostgles";
export type FunctionHandle<Args = any, Res = unknown> = (args: Args) => Promise<Res>;
export type ClientFunctionHandler = Partial<Record<string, FunctionHandle<any, unknown>>>;
export declare const getMethods: ({ onDebug, methods, socket, }: Pick<InitOptions, "onDebug" | "socket"> & Pick<ClientSchema, "methods">) => {
    methodSchema: ServerFunctionHandler;
    methodHandlers: Partial<Record<string, FunctionHandle<any, unknown>>>;
};
//# sourceMappingURL=getMethods.d.ts.map