import type { RuntimeCallOptions, RuntimeClient, RuntimeStreamCallOptions } from './types.js';
type RuntimeMethodBinding = {
    moduleKey: string;
    methodKey: string;
    stream: boolean;
};
export declare function runtimeRawCall<MethodId extends import('./runtime-method-contracts.js').RuntimeMethodId>(input: {
    methodId: MethodId;
    request: import('./runtime-method-contracts.js').RuntimeMethodRequest<MethodId>;
    options?: RuntimeCallOptions | RuntimeStreamCallOptions;
    methodLookup: Record<string, RuntimeMethodBinding>;
    assertMethodAvailable: (moduleKey: string, methodKey: string) => void;
    invokeWithClient: <T>(operation: (client: RuntimeClient) => Promise<T>) => Promise<T>;
    createMethodNotAllowlistedError: (methodId: string) => Error;
    createMethodNotImplementedError: (moduleKey: string, methodKey: string) => Error;
}): Promise<import('./runtime-method-contracts.js').RuntimeMethodResponse<MethodId>>;
export declare function runtimeRawCall(input: {
    methodId: string;
    request: unknown;
    options?: RuntimeCallOptions | RuntimeStreamCallOptions;
    methodLookup: Record<string, RuntimeMethodBinding>;
    assertMethodAvailable: (moduleKey: string, methodKey: string) => void;
    invokeWithClient: <T>(operation: (client: RuntimeClient) => Promise<T>) => Promise<T>;
    createMethodNotAllowlistedError: (methodId: string) => Error;
    createMethodNotImplementedError: (moduleKey: string, methodKey: string) => Error;
}): Promise<unknown>;
export {};
//# sourceMappingURL=runtime-raw-call.d.ts.map