declare module "underwriter" { export type Retriever = (identifier: string) => Promise; export type Initializer = (identifier: string, module: I) => T; export interface GuarantorOptions { defer?: Promise, retriever: Retriever, initializer?: Initializer, retrieveEarly?: boolean, thenableApi?: typeof Promise, publicFulfill?: boolean, } export default class Guarantor { constructor(options: GuarantorOptions); get(identifier: string): Promise; fulfill(identifier: string, guarantee: I): Promise; } }