import type { ZodMiniType } from 'zod/mini';
interface SerializationTransform {
    from: ZodMiniType;
    to: ZodMiniType;
}
/** Data contract used by Request Response Schemas. */
export interface RequestResponseSchemas {
    /**
     * Schema for validating (and optionally transforming) the RPC request
     */
    params: SerializationTransform;
    /**
     * Schema for validating (and optionally transforming) the result property of the RPC response
     */
    result: SerializationTransform;
}
/** Data contract used by Rpc Schema Map. */
export type RpcSchemaMap<TMethod extends string = string> = Record<TMethod, RequestResponseSchemas>;
/** Data contract used by Rpc Method Of. */
export type RpcMethodOf<THandlers extends Record<string, unknown>, TSchemas extends RpcSchemaMap> = Extract<keyof THandlers & string, keyof TSchemas & string>;
export {};
//# sourceMappingURL=RpcSchemaMap.d.ts.map