import type { AgentTool } from '@earendil-works/pi-agent-core';
export type ClarifyRequestPayload = {
    question: string;
    choices?: string[];
    default?: string;
};
export type GatewayClarifyRequestFn = (sessionKey: string, request: ClarifyRequestPayload) => Promise<string>;
export interface ClarifyToolDeps {
    /** Resolve a per-turn callback; returns null when clarification is unavailable. */
    resolveAskUser: () => ((request: ClarifyRequestPayload) => Promise<string>) | null;
}
export declare function createClarifyTool(deps: ClarifyToolDeps): AgentTool;
