export type PropsChangedHandler = (oldProps: T, newProps: T) => void; export interface $Widget = Record> { props: T; onPropsChanged: (cb: PropsChangedHandler) => void; fireEvent:

(eventName: keyof E, data: E[keyof E] | P) => void; } export interface $W> {

(selector: P): T[P]; on: (eventName: string, cb: Function) => void; of: (eventName: string, cb: Function) => void; once: (eventName: string, cb: Function) => void; fireEvent: (eventName: string, event: unknown) => void; onReady: (cb: Function) => void; at: (...args: unknown[]) => $W; createEvent: (eventType: string, payload: object) => unknown; } //# sourceMappingURL=internal-types.d.ts.map