import type { IProtocolV2Resources, IVersionArray } from '../../types'; export declare const PROTOCOL_V2_BOOT_RESOURCE_PACKAGE_PATH = "vol0:/loaders/bootloader/boot_resource.okpkg"; export declare const PROTOCOL_V2_BOOT_RESOURCE_PACKAGE_STAGING_PATH: string; export declare const PROTOCOL_V2_ROM_PARAMS_PACKAGE_PATH = "vol0:/loaders/rom/params.okpkg"; export declare const PROTOCOL_V2_RESOURCE_PACKAGE_HEADER_SIZE = 24464; export declare function parseProtocolV2Resources(value: unknown): IProtocolV2Resources | undefined; export declare function isProtocolV2ResourceArchiveEntryName(entryName: string): boolean; export type ProtocolV2ResourcePackageHeader = { version: IVersionArray; payloadLength: number; devicePath: string; payloadHash: string; headerHash: string; }; export declare function parseProtocolV2ResourcePackageHeader(bytes: Uint8Array, packageSize: number): ProtocolV2ResourcePackageHeader; export declare function parseProtocolV2ResourcePackage(binary: ArrayBuffer | Uint8Array): ProtocolV2ResourcePackageHeader; //# sourceMappingURL=resources.d.ts.map