9 lines
371 B
TypeScript
9 lines
371 B
TypeScript
/// <reference types="node" />
|
|
import { PathOrFileDescriptor } from "fs";
|
|
import { PlistJsObj, StringOrBuffer } from "./types";
|
|
/**
|
|
* Detects the format of the given string or buffer, then attempts to parse the
|
|
* payload using the appropriate tooling.
|
|
*/
|
|
export declare function parse<T = PlistJsObj>(aStringOrBuffer: StringOrBuffer, aFile?: PathOrFileDescriptor): T;
|