export interface Unbind { (): void; } export interface AllQuestions { [question: string]: any; } /** * Similar to `nanoevents`, except there's only one known receiver and that receiver will give a response. */ export declare class Questioner { qs: Partial; ask(question: Q, ...args: Parameters): ReturnType; bind(question: Q, handler: Qs[Q]): Unbind; }