export interface OpsType { textContent?: string; innerHTML?: string; id?: string; class?: string; classList?: string[]; attrs?: { [key: string]: string; }; style?: { [key: string]: string; }; events?: { [key: string]: () => void; }; } /** * setAttributes * @param el * @param attrs */ export declare const setAttributes: (el: HTMLElement, attrs?: OpsType['attrs']) => void; /** * setClassList * @param el * @param classList */ export declare const setClassList: (el: HTMLElement, classList: string[]) => void; /** * setEventListeners * @param el * @param events */ export declare const setEventListeners: (el: HTMLElement, events?: OpsType['events']) => void; /** * appendChildren * @param node * @param children */ export declare const appendChildren: (node: HTMLElement, children: HTMLElement[]) => void; /** * createElement * @param tag * @param options * @param children * @returns */ export declare const createElement: (tag: string, options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; /** * create * @param tags * @returns */ export declare const create: (...tags: string[]) => ((options?: OpsType, children?: HTMLElement[]) => HTMLDivElement)[]; export declare const a: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const article: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const aside: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const b: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const br: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const button: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const canvas: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const div: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const fieldset: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const footer: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const form: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const h1: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const h2: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const h3: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const h4: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const h5: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const h6: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const header: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const hr: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const i: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const iframe: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const img: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const input: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const label: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const li: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const link: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const main: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const meta: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const nav: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const ol: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const option: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const p: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const progress: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const script: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const section: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const select: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const span: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const style: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const sub: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const sup: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const svg: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const table: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const tbody: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const td: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const textarea: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const th: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const tr: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const ul: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement; export declare const video: (options?: OpsType, children?: HTMLElement[]) => HTMLDivElement;