export interface SpecOptions { delayMount?: boolean; afterDisconnect?: (el: T) => void; } export interface Spec { ref: (refSelectors: Record) => Spec; set: (fn: (el: T, refs: Record) => void) => Spec; readonly tree: (spec: (el: T, refs: Record, mount: Function) => void, options?: SpecOptions) => () => any; } export declare function setup(html: any): Spec; export declare const tick: (ms?: number) => Promise;