import type { ExtensionUIContext } from "../pi.js"; export type ElicitUi = { hasUI: boolean; ui?: ExtensionUIContext; }; export type ElicitRequest = { message?: string; requestedSchema?: unknown; }; export type ElicitResponse = { action: "accept"; content: Record; } | { action: "decline" | "cancel"; }; /** Primitive value an elicitation form can collect (the SDK's accepted value set, * incl. string[] for array-typed form fields). */ export type ElicitValue = string | number | boolean | string[]; /** Handle an elicitation request against Pi's UI. Never throws — a UI that can't * answer declines, and the combiner applies its elicitUnavailable policy. */ export declare function handleElicitation(req: ElicitRequest, elicitUi: ElicitUi): Promise; //# sourceMappingURL=elicitation.d.ts.map