import * as zod from 'zod'; import { Commands } from '../schema/common'; import type { TSendCommand } from '../schema/types'; import { Command, Schemas } from '../generated/schemas'; export declare function commandFactory(sendCommand: TSendCommand, cmd: Exclude, response: zod.ZodTypeAny, transferTransform?: (args: Args) => Transferable[] | undefined): (args: Args) => Promise>; type InferArgs = zod.infer<(typeof Schemas)[T]['request']>; type InferResponse = zod.infer<(typeof Schemas)[T]['response']>; export declare function schemaCommandFactory>(cmd: T, transferTransform?: (args: TArgs) => Transferable[] | undefined): (sendCommand: TSendCommand) => (args: TArgs) => Promise>; export {};