declare function trigger(
    el: Element | Document,
    type: string,
    options?: any
): void;
declare function trigger(type: string, options?: any): void;

export = trigger;
