export declare function gen(height?: number | string, { agent, signal, }?: { agent?: string | undefined; signal?: AbortSignal | undefined; }): Promise; type Keys = 'hash' | 'height' | 'nonce' | 'prev' | 'root'; export type Result = Readonly>; export declare function btc(height?: string | number): Promise; export declare function btc_task(task: () => Promise): Promise; export {};