import { ProgramTerms, SignerAPI, WitnessData, WitnessPreimage, WitnessTemplate } from '../types/index.js';
export declare function get_witness_id(preimg: WitnessPreimage): string;
export declare function create_witness(programs: ProgramTerms[], pubkey: string, template: WitnessTemplate): WitnessData;
export declare function sign_witness(signer: SignerAPI, witness: WitnessData): WitnessData;
