btc-wallet
Version:
BTC Wallet is a toolkit that enables Bitcoin usage on the NEAR blockchain through the Satoshi protocol.
23 lines (22 loc) • 632 B
TypeScript
interface DialogOptions {
title: string;
message: string;
dangerouslyUseHTML?: boolean;
closable?: boolean;
}
export declare class Dialog {
private static template;
private static style;
private static injectStyles;
static confirm(options: {
title?: string;
message: string;
}): Promise<boolean>;
static alert(options: DialogOptions): Promise<void>;
static openModal<T>({ title, titleStyle, content, }: {
title: string;
titleStyle?: string;
content: (resolve: (value: T) => void, close: () => void) => HTMLElement;
}): Promise<T>;
}
export {};