import type { Readable } from "node:stream"; import type { RestartOptions, StartedTestContainer, StopOptions, StoppedTestContainer } from "../test-container"; import type { CommitOptions, ContentToCopy, CopyToContainerOptions, DirectoryToCopy, ExecOptions, ExecResult, FileToCopy, Labels } from "../types"; export declare class AbstractStartedContainer implements StartedTestContainer { protected readonly startedTestContainer: StartedTestContainer; constructor(startedTestContainer: StartedTestContainer); protected containerStopping?(): Promise; stop(options?: Partial): Promise; protected containerStopped?(): Promise; restart(options?: Partial): Promise; commit(options: CommitOptions): Promise; getHost(): string; getHostname(): string; getFirstMappedPort(): number; getMappedPort(port: number, protocol?: string): number; getMappedPort(portWithProtocol: `${number}/${"tcp" | "udp"}`): number; getName(): string; getLabels(): Labels; getId(): string; getNetworkNames(): string[]; getNetworkId(networkName: string): string; getIpAddress(networkName: string): string; copyFilesToContainer(filesToCopy: FileToCopy[]): Promise; copyDirectoriesToContainer(directoriesToCopy: DirectoryToCopy[]): Promise; copyContentToContainer(contentsToCopy: ContentToCopy[]): Promise; copyArchiveToContainer(tar: Readable, target?: string, options?: CopyToContainerOptions): Promise; copyArchiveFromContainer(path: string): Promise; exec(command: string | string[], opts?: Partial): Promise; logs(opts?: { since?: number; tail?: number; }): Promise; [Symbol.asyncDispose](): Promise; }