/** * Original code by Craig Stuart Sapp . */ interface ParserOptions { forceKeyCase?: 'lowercase' | 'uppercase'; onlyChildToRoot?: boolean; } interface ParserState { action?: any; label?: any; labelbegin?: any; labelend?: any; curobj: any; curobjname?: any; curkey?: any; ocurkey?: any; newkey?: any; onewkey?: any; newvalue?: any; linenum?: any; node: any[]; typer?: any; output?: any; keycase?: 'lowercase' | 'uppercase'; } export declare class AtonParser { options: ParserOptions; constructor(options?: ParserOptions); /** * parse ATON content and return the JSON that it describes. */ parse(str: string): any; /** * Parse ATON data from a list of individual records. */ private parseRecordArray; /** * Read an individual ATON record and process * according to the state given as the second parameter. */ parseRecord(line: string, state: ParserState): void; /** * Remove whitespace from beginning and ending of value. * If the type should be cast to another form, also do that. */ cleanParameter(v: ParserState): void; } export {};