import { FileLink } from '../shared/file.js';
export declare function resolveRemoteFile({ path, scope, extension, }: {
    path: string;
    scope: string;
    extension: string;
}): Promise<string>;
export declare function createStreamableFile(path: string): Promise<File>;
export declare function saveRemoteFileNode(remotePath: string, outputPath: string, controller?: AbortController): Promise<unknown>;
export declare function readRemoteFileNode(remotePath: string, controller?: AbortController): Promise<ArrayBuffer>;
export declare function saveRemoteFileNodeAndCleanupOnError(remotePath: string, outputPath: string, controller?: AbortController): Promise<void>;
export declare function saveAllRemoteFilesLocally(files: Array<FileLink>): Promise<void[]>;
export declare function getScopeDirectory(possibility?: string): string;
export declare function getFallbackFilePath(possibility: string | undefined, directory: string, extension?: string): Promise<string>;
export declare function generateFilePath(directory: string, extension?: string): Promise<string>;
