UNPKG

371 BTypeScriptView Raw
1/// <reference types="node" />
2import { PathOrFileDescriptor } from "fs";
3import { PlistJsObj, StringOrBuffer } from "./types";
4/**
5 * Detects the format of the given string or buffer, then attempts to parse the
6 * payload using the appropriate tooling.
7 */
8export declare function parse<T = PlistJsObj>(aStringOrBuffer: StringOrBuffer, aFile?: PathOrFileDescriptor): T;