import type { ZodMiniType } from 'zod/mini';
interface SerializationTransform {
    from: ZodMiniType;
    to: ZodMiniType;
}
/** RequestResponseSchemas type. */
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;
}
/** RpcSchemaMap type. */
export type RpcSchemaMap<TMethod extends string = string> = Record<TMethod, RequestResponseSchemas>;
/** RpcMethodOf type. */
export type RpcMethodOf<THandlers extends Record<string, unknown>, TSchemas extends RpcSchemaMap> = Extract<keyof THandlers & string, keyof TSchemas & string>;
export {};
//# sourceMappingURL=RpcSchemaMap.d.ts.map