import { type StringOrMarkdown, type ToolCallState } from "../../state/protocol/state.js"; export interface IToolPresentation { readonly toolKind?: "terminal" | "search" | "read"; readonly invocationMessage: StringOrMarkdown; readonly pastTenseMessage: StringOrMarkdown; } /** Compensates for copilot-host#981 until write confirmations name their file natively. */ export declare function readCopilotWritePermissionPresentation(call: ToolCallState): { invocationMessage: StringOrMarkdown; confirmationTitle?: StringOrMarkdown; } | undefined; /** * Temporary compatibility fallback for URL permissions until the host names the URL itself. * TODO: move this fix to the host so it emits "{intention}: {url}" as the confirmation message. */ export declare function readCopilotUrlPermissionPresentation(call: ToolCallState): { invocationMessage: StringOrMarkdown; confirmationTitle?: StringOrMarkdown; } | undefined; export declare function readCopilotToolPresentation(call: ToolCallState): IToolPresentation | undefined;