import type { GoalAnswerInput, GoalQuestion } from '../../infra/goals/schema.js'; import type { InquiryOwner } from '../../infra/goals/standalone-inquiries.js'; import type { WritablePermissionScope } from './scopedPermissionStorage.js'; import type { ManagerAssignment } from './startupResolution.js'; export type PendingQuestion = { readonly question: GoalQuestion; } & ({ readonly goalId: string; readonly objective: string; readonly repositoryDirectory: string; } | { readonly goalId: null; readonly owner: InquiryOwner; }); export interface ApprovalScopeChoice { readonly value: NonNullable; readonly label: string; readonly permission?: WritablePermissionScope; } export declare function approvalScopeChoices(target: PendingQuestion, assignment: ManagerAssignment): ApprovalScopeChoice[]; export declare function createPermissionProposal(operation: Pick, 'toolName' | 'args' | 'cwd'>): string; //# sourceMappingURL=inquiryAnswer.d.ts.map