import { type Bounds, type Result, type SigningInput } from "@bounded-authority-protocol/verifier"; import { type SignerResult } from "./handle.js"; export declare function signViaHandle(sign: (message: Uint8Array) => Uint8Array | Promise, message: Uint8Array, width?: number): Promise; export declare function signatureVerifies(message: Uint8Array, signature: Uint8Array, publicKey: Uint8Array): boolean; export type Assembler = (input: SigningInput, signature: Uint8Array, bounds?: Bounds) => Result; export declare const assemblers: { readonly standard: Assembler; readonly loopback: Assembler; readonly v2: Assembler; }; export declare function signAndAssemble(sign: (message: Uint8Array) => Uint8Array | Promise, signingInput: SigningInput, publicKey: Uint8Array, bounds: Bounds | undefined, assembler: Assembler): Promise>;