export interface EnvVarDecl {
    name: string;
    type: string;
    context: "client" | "server" | "unknown";
    access: "public" | "secret" | "unknown";
    optional: boolean;
}
export interface EnvIssue {
    code: "EV01" | "EV02" | "EV03" | "EV04";
    severity: "error" | "warning" | "info";
    message: string;
    file: string;
    line: number;
    var: string;
}
export interface EnvValidatorResult {
    config_found: boolean;
    declared_vars: EnvVarDecl[];
    used_vars: {
        name: string;
        file: string;
        via: "import.meta.env" | "astro:env/client" | "astro:env/server";
    }[];
    missing: string[];
    unused: string[];
    issues: EnvIssue[];
    summary: {
        declared: number;
        used: number;
        issues: number;
    };
}
export declare function auditEnvFromRoot(root: string): Promise<EnvValidatorResult>;
export declare function astroEnvValidator(args: {
    project_root?: string;
    repo?: string;
}): Promise<EnvValidatorResult>;
//# sourceMappingURL=astro-env-validator.d.ts.map