/** * Docker Compose + Dockerfile parser — converts existing YAML/Dockerfiles * to an intermediate representation (IR) for TypeScript code generation. */ export interface ServiceIR { kind: "service"; name: string; props: Record; } export interface VolumeIR { kind: "volume"; name: string; props: Record; } export interface NetworkIR { kind: "network"; name: string; props: Record; } export interface ConfigIR { kind: "config"; name: string; props: Record; } export interface SecretIR { kind: "secret"; name: string; props: Record; } export interface DockerfileStage { from: string; as?: string; instructions: Array<{ instruction: string; value: string; }>; } export interface DockerfileIR { kind: "dockerfile"; name: string; stages: DockerfileStage[]; } export type DockerIR = ServiceIR | VolumeIR | NetworkIR | ConfigIR | SecretIR | DockerfileIR; export interface ParseResult { entities: DockerIR[]; warnings: string[]; } /** * Parser for docker-compose.yml files. * Converts YAML to an IR consumable by the TypeScript generator. */ export declare class DockerParser { parse(content: string): ParseResult; } /** * Parser for Dockerfile content. */ export declare class DockerfileParser { parse(name: string, content: string): DockerfileIR; } //# sourceMappingURL=parser.d.ts.map