import { type CompanyProfileAgentAttempt as CompanyProfileAgentAttemptType, type CompanyProfileAgentConfirmRequest as CompanyProfileAgentConfirmRequestType, type CompanyProfileAgentConfirmationReceipt as CompanyProfileAgentConfirmationReceiptType, type CompanyProfileAgentProposalReceipt as CompanyProfileAgentProposalReceiptType, type CompanyProfileAgentProposalRequest as CompanyProfileAgentProposalRequestType } from "@opengeni/contracts"; import { type Database } from "./database.js"; export declare class CompanyProfileAgentAdminError extends Error { readonly code: "authority_unavailable" | "policy_disabled" | "confirmation_unavailable" | "profile_conflict" | "operation_reused" | "invalid_operation"; readonly name = "CompanyProfileAgentAdminError"; constructor(code: "authority_unavailable" | "policy_disabled" | "confirmation_unavailable" | "profile_conflict" | "operation_reused" | "invalid_operation", message: string, options?: ErrorOptions); } /** Deterministic UUID-shaped id for the activation stage of one proposal operation. */ export declare function derivedCompanyProfileAutomaticActivationOperationId(operationId: string): string; export declare function proposeCompanyProfileForAgent(db: Database, raw: { attempt: CompanyProfileAgentAttemptType; request: CompanyProfileAgentProposalRequestType; }): Promise; export declare function confirmCompanyProfileForAgent(db: Database, raw: { attempt: CompanyProfileAgentAttemptType; request: CompanyProfileAgentConfirmRequestType; }): Promise;