import type { FormattedLabel, SignedLabel, UnsignedLabel } from "./types.js";
export declare function formatLabel(label: UnsignedLabel & {
    sig?: Uint8Array | {
        $bytes: string;
    };
}): FormattedLabel;
export declare function signLabel(label: UnsignedLabel, signingKey: Uint8Array): Promise<SignedLabel>;
export declare function labelIsSigned<T extends UnsignedLabel>(label: T): label is T & SignedLabel;
export declare function generateExpiration(daysFromNow?: number): string;
