export declare const DEFAULT_MIRROR = "mirror.gcr.io"; export interface ImagePolicy { /** Prefixes every image reference must start with. Empty or omitted keeps the Docker Hub check. */ readonly allowRegistries?: readonly string[] | undefined; /** Require `@sha256:` followed by 64 lowercase hex characters. */ readonly requireDigest?: boolean | undefined; /** * Audited escape hatch for dynamic values (such as job outputs) a scan cannot verify: an image * reference whose raw text exactly equals one of these is accepted. No patterns. */ readonly allowRefExpressions?: readonly string[] | undefined; } export declare function policyActive(policy: ImagePolicy): boolean; export declare function cleanImage(reference: string): string; /** Reasons (empty when acceptable) that an image reference breaks the policy. */ export declare function imageReasons(reference: string, mirror: string, policy?: ImagePolicy): string[];