export type PlatformIO = {
    readFile(path: string): Promise<Uint8Array>;
    writeFile(path: string, data: Uint8Array): Promise<void>;
    stat(path: string): Promise<{
        size: number;
    }>;
    readDir(path: string): AsyncGenerator<{
        name: string;
        isDirectory: boolean;
        isFile: boolean;
    }>;
    readPartial?: (path: string, headerSize: number, footerSize: number) => Promise<Uint8Array>;
};
export declare function getPlatformIO(): PlatformIO;
/** @internal */
export declare function _setPlatformIOForTesting(io: PlatformIO): void;
/** @internal */
export declare function _resetPlatformIO(): void;
//# sourceMappingURL=platform-io.d.ts.map