import { type CompanyProfileAgentPolicy as CompanyProfileAgentPolicyType, type CompanyProfileAgentPolicyMode as CompanyProfileAgentPolicyModeType } from "@opengeni/contracts"; import { type Database } from "./database.js"; export declare class CompanyProfileAgentPolicyError extends Error { readonly code: "authority_unavailable" | "policy_conflict" | "operation_reused" | "invalid"; readonly name = "CompanyProfileAgentPolicyError"; constructor(code: "authority_unavailable" | "policy_conflict" | "operation_reused" | "invalid", message: string, options?: ErrorOptions); } export declare function getCompanyProfileAgentPolicy(db: Database, input: { accountId: string; workspaceId: string; actorSubjectId: string; }): Promise; export declare function updateCompanyProfileAgentPolicy(db: Database, input: { accountId: string; workspaceId: string; actorSubjectId: string; mode: CompanyProfileAgentPolicyModeType; expectedVersion: number; operationId: string; }): Promise;