mailto.d.ts 527 Bytes
Newer Older
jatuporn Tonggasem's avatar
jatuporn Tonggasem committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import { URIComponents, URIOptions } from "../uri";
export interface MailtoHeaders {
    [hfname: string]: string;
}
export interface MailtoComponents extends URIComponents {
    to: Array<string>;
    headers?: MailtoHeaders;
    subject?: string;
    body?: string;
}
declare var _default: {
    scheme: string;
    parse: (components: MailtoComponents, options: URIOptions) => MailtoComponents;
    serialize: (components: MailtoComponents, options: URIOptions) => URIComponents;
};
export default _default;