export type RequestKind = "command" | "tool" | "edit" | "question" | "other";
export interface ApprovalRequest {
    tool?: string;
    input?: unknown;
    cwd?: string;
    message?: string;
    question?: boolean;
}
export declare function approvalTitle(agent: string, project?: string, computer?: string): string;
/** A pane's folder as the project a notification names: its last part, or
 * none for the phren store (`~/.phren`, or `store`), whose path names no
 * project and is never shown on the phone. */
export declare function paneProject(cwd: string | undefined, store?: string): string | undefined;
/** Sanitize the whole line before shortening it for the notification. */
export declare function redactApproval(value: string): string;
export declare function shortApproval(value: string): string;
export declare function approvalSummary(value: ApprovalRequest): {
    request: string;
    requestKind: RequestKind;
};
