export type QuoteStyle = '"' | "'" | ""; export type EnvLine = { kind: "blank"; raw: string; } | { kind: "comment"; raw: string; } | { kind: "raw"; raw: string; } | { kind: "entry"; raw: string; key: string; value: string; quote: QuoteStyle; exported: boolean; inlineComment: string; dirty: boolean; }; export interface EnvDocument { eol: "\n" | "\r\n"; bom: boolean; lines: EnvLine[]; } export declare function parseEnv(text: string): EnvDocument; export declare function serializeEnv(doc: EnvDocument): string; export declare function getValue(doc: EnvDocument, key: string): string | undefined; export declare function listEntries(doc: EnvDocument): { key: string; value: string; }[]; export declare function setValue(doc: EnvDocument, key: string, value: string): EnvDocument; export declare function addKey(doc: EnvDocument, key: string, value: string): EnvDocument; export declare function removeKey(doc: EnvDocument, key: string): EnvDocument; //# sourceMappingURL=envText.d.ts.map