import { ConsentFlowTerms as ConsentFlowTermsType, LCNProfile } from '@learncard/types';
import { DbContractType, DbTermsType } from '../../../types/consentflowcontract';
export declare const reconsentTerms: (relationship: {
    terms: DbTermsType;
    consenter: LCNProfile;
    contract: DbContractType;
    contractOwner: LCNProfile;
}, { terms, expiresAt, oneTime, }: {
    terms: ConsentFlowTermsType;
    expiresAt?: string;
    oneTime?: boolean;
}, domain: string) => Promise<boolean>;
export declare const updateTerms: (relationship: {
    terms: DbTermsType;
    consenter: LCNProfile;
    contract: DbContractType;
    contractOwner: LCNProfile;
}, { terms, expiresAt, oneTime, }: {
    terms: ConsentFlowTermsType;
    expiresAt?: string;
    oneTime?: boolean;
}, domain: string) => Promise<boolean>;
export declare const withdrawTerms: (relationship: {
    terms: DbTermsType;
    consenter: LCNProfile;
    contract: DbContractType;
    contractOwner: LCNProfile;
}) => Promise<boolean>;
export declare const syncCredentialsToContract: (relationship: {
    terms: DbTermsType;
    consenter: LCNProfile;
    contract: DbContractType;
    contractOwner: LCNProfile;
}, categories: Record<string, string[]>) => Promise<boolean>;
export declare const updateRequestedForStatusIfExists: (id: string, profileId: string, status: "pending" | "accepted" | "denied") => Promise<void>;
export declare const upsertRequestedForRelationship: (id: string, profileId: string, status?: "pending" | "accepted" | "denied", readStatus?: "seen" | "unseen" | null) => Promise<void>;
//# sourceMappingURL=update.d.ts.map