import type { Call } from '@astrale-os/sdk/client';
import type { SessionRequestOptions } from '@astrale-os/sdk/client/session';
import type { Value } from '@astrale-os/sdk/value';
import type { Action } from '../action.js';
export interface CallOptions extends SessionRequestOptions {
readonly onError?: (error: unknown) => void;
}
export type CallResult = Value;
export declare function useCall(call: Call | null, options?: CallOptions): Action<[], CallResult>;
export declare function useCall(author: ((...args: A) => Call) | null, options?: CallOptions): Action;
//# sourceMappingURL=call.hook.d.ts.map