import { PassThrough, type Readable } from "node:stream"; import { IDL } from "@icp-sdk/core/candid"; import { type PocketIc, type PocketIcServer } from "../helpers/pocket-ic-client.js"; type StartOptions = { verbose?: boolean; silent?: boolean; }; export declare class Replica { verbose: boolean; canisters: Record; pocketIcServer?: PocketIcServer; pocketIc?: PocketIc; ttl: number; start({ verbose, silent }?: StartOptions): Promise; _attachCanisterLogHandler(stderr: Readable | null): void; stop(sigint?: boolean): Promise; deploy(name: string, wasm: string, idlFactory: IDL.InterfaceFactory, cwd?: string, signal?: AbortSignal): Promise<{ cwd: string; canisterId: string; actor: any; stream: PassThrough; } | undefined>; getActor(name: string): unknown; getCanister(name: string): { cwd: string; canisterId: string; actor: any; stream: PassThrough; } | undefined; getCanisterId(name: string): string; getCanisterStream(canisterId: string): PassThrough | null; } export {};