保誠-保戶業務員媒合平台
Tomas
2022-05-19 957a1f10a06fdbb76f1a0ba94fe44126c613fee3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// <reference types="node" />
import { URL } from 'url';
/**
 * Parses an .ini file
 * @param file The location of the .ini file
 */
export declare function parse(file: string | number | Buffer | URL): Promise<[string | null, SectionBody][]>;
export declare function parseSync(file: string | number | Buffer | URL): [string | null, SectionBody][];
export declare type SectionName = string | null;
export interface SectionBody {
    [key: string]: string;
}
export declare type ParseStringResult = Array<[SectionName, SectionBody]>;
export declare function parseString(data: string): ParseStringResult;