import { Muid, BundleInfo, Sealer, Bundler, Meta } from "./typedefs";
import { ChangeBuilder } from "./builders";
/**
 * This class is considered part of the internal interface of Gink and is not part of the API
 */
export declare class BoundBundler implements Bundler {
    readonly medallion: number;
    readonly sealer: Sealer;
    readonly meta?: Meta;
    private bundleInfo?;
    private changes;
    constructor(medallion: number, sealer: Sealer, meta?: Meta);
    commit(comment?: string): Promise<BundleInfo>;
    private requireNotSealed;
    /**
     *
     * @param changeBuilder a protobuf Change ready to be serialized
     * @returns an Address who's offset is immediately available and whose medallion and
     * timestamp become defined when this Bundle is sealed.
     */
    addChange(changeBuilder: ChangeBuilder): Muid;
}
