import type { Receipt } from "../types.js";
import type { Signer } from "../builder.js";
import { type Anchor } from "./acceptance.js";
export interface AnchorFrontier {
    chain: string;
    highestSeq: number;
    headHash: string;
    ts: string;
}
export declare class AnchorError extends Error {
    readonly errors: string[];
    constructor(message: string, errors: string[]);
}
export declare function buildAnchor(frontier: AnchorFrontier, signer: Signer): Anchor;
export declare function anchorForChainHead(receipts: readonly Receipt[], signer: Signer, opts: {
    ts: string;
}): Anchor;
