/** * Copyright (c) 2018-2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose * @author David Sehnal * @author Adam Midlik * @author Paul Pillot */ import { FileHandle } from '../../mol-io/common/file-handle.js'; /** Create a file handle from either a file path or a URL (supports file://, http(s)://, gs:// protocols). */ export declare function fileHandleFromPathOrUrl(pathOrUrl: string, name: string): Promise; export declare function fileHandleFromDescriptor(file: number, name: string): FileHandle; /** Create a read-only file handle from a Google Cloud Storage URL (gs://bucket-name/file-name). */ export declare function fileHandleFromGS(url: string, name: string): FileHandle; /** Create a read-only file handle from a HTTP or HTTPS URL. */ export declare function fileHandleFromHTTP(url: string, name: string): FileHandle;