export declare const SECRET_VARIABLE_NAME_MAX_CHARS = 128; export declare const SECRET_VARIABLE_NAME_PATTERN = "^[A-Za-z_][A-Za-z0-9_]*$"; export declare const MAX_DOTENV_VARIABLES = 64; export declare const MAX_DOTENV_VALUE_BYTES: number; export declare const MAX_DOTENV_DOCUMENT_BYTES: number; export declare class SecretDotenvError extends Error { readonly line?: number; constructor(message: string, line?: number); } export interface ParsedDotenvVariable { name: string; value: string; } export interface ParsedDotenvDocument { document: string; variables: ParsedDotenvVariable[]; } export declare function validateDotenvVariableName(name: string): string; export declare function validateDotenvValue(value: string): string; /** * Parse the practical dotenv surface Pi accepts for provider-backed credential profiles: comments, blank lines, optional `export`, * unquoted values, and single/double/backtick quoted values (including multiline quoted values). * Error messages contain only a line number and grammar reason, never the rejected value. */ export declare function parseDotenvDocument(input: string): ParsedDotenvDocument; export declare function formatDotenvVariables(variables: readonly ParsedDotenvVariable[]): string; //# sourceMappingURL=secret-dotenv.d.ts.map