export type ErrorCode = "DuplicateCredentialError" | "CredentialNotFoundError" | "ContextDocumentNotFoundError" | "SameAsAlreadyExistsError" | "SameAsNotFoundError";
export interface ReducerError {
    errorCode: ErrorCode;
}
export declare class DuplicateCredentialError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class CredentialNotFoundError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class ContextDocumentNotFoundError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class SameAsAlreadyExistsError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class SameAsNotFoundError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare const errors: {
    AddRequiredCredential: {
        DuplicateCredentialError: typeof DuplicateCredentialError;
    };
    RemoveRequiredCredential: {
        CredentialNotFoundError: typeof CredentialNotFoundError;
    };
    RemoveContextDocument: {
        ContextDocumentNotFoundError: typeof ContextDocumentNotFoundError;
    };
    AddPoolSameAs: {
        SameAsAlreadyExistsError: typeof SameAsAlreadyExistsError;
    };
    RemovePoolSameAs: {
        SameAsNotFoundError: typeof SameAsNotFoundError;
    };
};
//# sourceMappingURL=error.d.ts.map