type ajax = { url: string; type?: string; data?: any; headers?: any; dataType: 'text' | 'json' | 'blob'; success: (param: any) => void; failed: (param: any) => void; }; declare const $createElement: (el: keyof HTMLElementTagNameMap | string) => HTMLElement; declare const $root: HTMLElement; declare const $body: HTMLElement; declare const $selector: (el: string) => Element | null; declare const $selectorAll: (el: string) => NodeListOf; declare const $id: (el: string) => HTMLElement | null; declare const $date: (date?: null | any) => Date; declare const $audio: (path?: string) => HTMLAudioElement; declare const $canvas: (id: string) => HTMLCanvasElement; declare const $getJSON: (url: string, callback: (param: any) => void) => Promise; declare const $ajax: ({ url, type, data, headers, dataType, success, failed }: ajax) => Promise; declare const fadeIn: (el: HTMLElement | Element) => void; declare const fadeOut: (el: HTMLElement | Element) => void; declare const hide: (el: any) => string; declare const show: (el: any) => string; declare const $toast: (msg: string, classAlert: string, time: number) => void; declare const $url: (url: string) => URL; export { $root, $body, $selector, $selectorAll, $id, $date, $audio, $canvas, $getJSON, $ajax, $createElement, $toast, $url, fadeIn, fadeOut, hide, show, };