import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type Canister = { canisterId: string; ledgerCanisterId: string; canisterType: string; subnetId?: string | undefined; controllers?: Array | undefined; moduleHash?: string | undefined; cycleBalance?: string | undefined; stableMemoryBytes?: string | undefined; updatedAt: string; }; /** @internal */ export declare const Canister$inboundSchema: z.ZodType; /** @internal */ export type Canister$Outbound = { canister_id: string; ledger_canister_id: string; canister_type: string; subnet_id?: string | undefined; controllers?: Array | undefined; module_hash?: string | undefined; cycle_balance?: string | undefined; stable_memory_bytes?: string | undefined; updated_at: string; }; /** @internal */ export declare const Canister$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Canister$ { /** @deprecated use `Canister$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Canister$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Canister$Outbound` instead. */ type Outbound = Canister$Outbound; } export declare function canisterToJSON(canister: Canister): string; export declare function canisterFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=canister.d.ts.map