export declare const USER_INTERACTION_FUNCTION_ID = "userInteraction"; export interface EmptyContentRef { empty: true; label?: string; } export interface PathContentRef { path: string; gitRef?: string; line?: number; } export type ContentRef = string | PathContentRef | EmptyContentRef; export declare function isEmptyContentRef(ref: ContentRef): ref is EmptyContentRef; export interface UserInteractionLink { ref: ContentRef; rightRef?: ContentRef; label?: string; autoOpen?: boolean; } export declare function resolveContentRef(ref: ContentRef): PathContentRef | EmptyContentRef; export declare function buildDiffLabel(left: PathContentRef | EmptyContentRef, right: PathContentRef | EmptyContentRef): string; export interface UserInteractionOption { text: string; value: string; description?: string; buttonLabel?: string; } export interface UserInteractionStep { title: string; message: string; options?: UserInteractionOption[]; links?: UserInteractionLink[]; } export interface UserInteractionStepResult { title: string; value?: string; comments?: string[]; skipped?: boolean; } export interface UserInteractionResult { completed: boolean; steps: UserInteractionStepResult[]; } export interface UserInteractionArgs { interactions: UserInteractionStep[]; } export interface UserInteractionInput { title: string; stepCount: number; } export declare function parseUserInteractionInput(args: string | undefined): UserInteractionInput; export declare function parseUserInteractionResult(raw: unknown): UserInteractionResult | undefined; export declare function parseUserInteractionArgs(args: string | undefined): UserInteractionArgs | undefined; export declare function normalizeUserInteractionLink(link: unknown): UserInteractionLink | undefined; //# sourceMappingURL=user-interaction-tool.d.ts.map