import type { RepositoryRoleScope, RepositoryRoleTransport } from './repositoryRoleMetadata.js'; export interface RepositoryQuestionTransport extends RepositoryRoleTransport { signedPost(route: string, body: unknown): Promise>; } export declare function askRepositoryRoleQuestion(input: { transport: RepositoryQuestionTransport; scope: RepositoryRoleScope; category: string; question: string; targetEndpointId?: string; }): Promise<{ schema: "dharma.repository-question-observation/v1"; questionId: string; taskId: string; state: "dispatched"; target: { endpointId: string; workspaceId: string; provider: string; }; repositoryBindingId: string; communicationReady: false; }>; export declare function readRepositoryRoleReply(input: { transport: Pick; scope: RepositoryRoleScope; questionId: string; }): Promise<{ state: "answered"; body: string; receiptHash: string; } | { state: "dispatched" | "failed"; body: null; receiptHash: null; }>; //# sourceMappingURL=repositoryRoleQuestion.d.ts.map