/**
 * @file `parse(filename, content)` — auto-detects format from filename then
 *   dispatches to `parseManifest` or `parseLockfile`. Throws
 *   `ManifestError(ERR_UNKNOWN_FORMAT)` when the filename doesn't match any
 *   recognized manifest or lockfile basename.
 */
import type { ParsedLockfile, ParsedManifest } from './types';
export declare function jsParse(filename: string, content: string): ParsedManifest | ParsedLockfile;
export declare const parse: (filename: string, content: string) => ParsedManifest | ParsedLockfile;
