import { ConvergenceResult, FeltDBProposalEvent, FeltDBProposalPreviewArtifact, FeltDBProposalRecord, ProposalReadiness, ProposalStatus } from '@feltdb/core'; export interface ProposalPage { proposals: FeltDBProposalRecord[]; pagination: { limit: number; nextCursor: string | null; }; } export interface RepositoryReadiness { ready: boolean; contractMatches: boolean; flowMatches: boolean; gitClean: boolean; conflicts: string[]; branch?: string; commit?: string; } export interface ProposalApiOptions { baseUrl?: string; token?: string; applicationId: string; environment: string; fetch?: typeof globalThis.fetch; } export declare class StudioProposalApi { private readonly options; private readonly fetcher; constructor(options: ProposalApiOptions); private scope; private request; list(status?: ProposalStatus | '', cursor?: string, limit?: number): Promise; get(id: string): Promise; history(id: string): Promise<{ events: FeltDBProposalEvent[]; }>; status(id: string): Promise; convergence(id: string): Promise<{ convergence: ConvergenceResult[]; }>; preview(id: string): Promise; validate(id: string): Promise; createPreview(id: string): Promise; approve(id: string, approveAuthorization?: boolean): Promise; reject(id: string, reason?: string): Promise; } export declare const proposalSections: (proposal: FeltDBProposalRecord) => { State: string[]; Relationships: string[]; Events: string[]; Workflows: string[]; Capabilities: string[]; Authorization: string[]; Configuration: string[]; }; export declare function proposalErrorMessage(error: unknown): string; //# sourceMappingURL=proposal-api.d.ts.map