export type NativeArchiveEntryType = 'file' | 'directory'; export interface NativeReleaseAssetPolicyInput { product: string; version: string; platform: string; arch: string; target: string; libc?: string; archive: string; binary: string; binary_path: string; sha256: string; size?: number; download_url: string; } export interface NativeReleaseManifestPolicyInput { manifest_version?: number; version: string; tag?: string; assets: NativeReleaseAssetPolicyInput[]; } export interface NativeTargetMapping { platform: string; arch: string; libc?: string; } /** Products that must be accepted by release-manifest generation and verification. */ export declare const NATIVE_RELEASE_PRODUCTS: readonly ['omx-explore-harness', 'omx-sparkshell', 'omx-api', 'omx-runtime']; /** Products exposed through the runtime hydration APIs. */ export declare const NATIVE_HYDRATABLE_PRODUCTS: readonly ['omx-explore-harness', 'omx-sparkshell', 'omx-api']; export declare function nativeProductBinaryName(product: string): string | undefined; export declare function nativeProductBinaryPath(product: string, platform: string): string | undefined; export declare function normalizeNativeArchivePath(path: string, type: NativeArchiveEntryType): string; export declare function assertSafeNativeArchiveEntries(entries: Iterable<{ path: string; type: NativeArchiveEntryType; }>): void; export declare function nativeTargetMapping(target: string): NativeTargetMapping | undefined; export declare function nativeReleaseAssetLogicalKey(asset: Pick): string; export declare function nativeReleaseAssetBasename(asset: Pick): string; export declare function validateNativeReleaseManifest(manifest: NativeReleaseManifestPolicyInput): void; //# sourceMappingURL=policy.d.ts.map