import { type Inflate } from "../io/source.js";
import { type Abortable } from "../vocabulary.js";
import type { Container, Listing } from "./contract.js";
import { type Opener, type Target } from "./target.js";
/** What the Node and browser entries do differently. */
export interface Platform {
    open: Opener;
    inflate: Inflate;
}
export declare function openWith(platform: Platform, target: Target, options?: Abortable): Promise<Container>;
export declare function peekWith(platform: Platform, target: Target, options?: Abortable): Promise<Listing>;
