import { PodInstanceData, EPodStatus } from "../../types/pod"; import { StubBuilder, CreateStubConfig } from "./stub"; export declare class Pod { stub: StubBuilder; containerId: string; status: EPodStatus; url?: string; constructor(config: CreateStubConfig); private _createPod; create(entrypoint?: string[]): Promise; /** * Deploy a pod. * * @param name Optional deployment name. If omitted, uses the pod's configured `name` * @returns Deployment details and a success boolean * * @example * ```ts * const pod = new Pod({ * name: "my-pod", * cpu: 1.0, * memory: 128, * image: new Image({}), * keepWarmSeconds: 1000 * }); * const { deploymentDetails, success } = await pod.deploy("my-pod"); * ``` */ deploy(name?: string): Promise<{ deploymentDetails: Record; success: boolean; }>; parseAndValidate(): { ignorePatterns: string[]; }; } export declare class PodInstance { containerId: string; url: string; ok: boolean; errorMsg?: string; pod: Pod; constructor(data: PodInstanceData, pod: Pod); terminate(): Promise; }