UNPKG

655 BTypeScriptView Raw
1import { TagNames } from './types';
2import { StringObj } from './sitemap-item-stream';
3import { IndexTagNames } from './sitemap-index-stream';
4export declare function text(txt: string): string;
5export declare function otag(nodeName: TagNames | IndexTagNames, attrs?: StringObj, selfClose?: boolean): string;
6export declare function ctag(nodeName: TagNames | IndexTagNames): string;
7export declare function element(nodeName: TagNames, attrs: StringObj, innerText: string): string;
8export declare function element(nodeName: TagNames | IndexTagNames, innerText: string): string;
9export declare function element(nodeName: TagNames, attrs: StringObj): string;