/** * Inventory type definitions. * * Zod schemas are the source of truth — TypeScript types are derived via * `z.output<>`. The inventory maps target names to concrete host connection * details and variables. TypeScript inventory files default-export an * `Inventory` object. */ import { z } from "incur"; /** Connection defaults applied to all hosts unless overridden. */ export declare const InventoryDefaultsSchema: z.ZodObject<{ user: z.ZodOptional; port: z.ZodOptional; privateKey: z.ZodOptional; }, z.core.$strip>; /** Parsed connection defaults applied to all hosts unless overridden. */ export type InventoryDefaults = z.output; /** A host entry in the inventory. */ export declare const HostSchema: z.ZodObject<{ hostname: z.ZodString; user: z.ZodOptional; port: z.ZodOptional; privateKey: z.ZodOptional; vars: z.ZodOptional>; }, z.core.$strip>; /** Parsed host entry in the inventory. */ export type Host = z.output; /** A group of hosts with shared variables. */ export declare const HostGroupSchema: z.ZodObject<{ hosts: z.ZodRecord; port: z.ZodOptional; privateKey: z.ZodOptional; vars: z.ZodOptional>; }, z.core.$strip>>; vars: z.ZodOptional>; }, z.core.$strip>; /** Parsed host group with shared variables. */ export type HostGroup = z.output; /** * Top-level inventory structure. * * An inventory file default-exports an object conforming to this type. * Variable merging follows: host vars > group vars > global vars > defaults. */ export declare const InventorySchema: z.ZodObject<{ defaults: z.ZodOptional; port: z.ZodOptional; privateKey: z.ZodOptional; }, z.core.$strip>>; vars: z.ZodOptional>; groups: z.ZodOptional; port: z.ZodOptional; privateKey: z.ZodOptional; vars: z.ZodOptional>; }, z.core.$strip>>; vars: z.ZodOptional>; }, z.core.$strip>>>; hosts: z.ZodOptional; port: z.ZodOptional; privateKey: z.ZodOptional; vars: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; /** Parsed top-level inventory structure. */ export type Inventory = z.output; /** * A fully resolved host ready for SSH connection. * * Produced by `resolveTargets()` after merging variables and applying defaults. */ export declare const ResolvedHostSchema: z.ZodObject<{ name: z.ZodString; hostname: z.ZodString; user: z.ZodString; port: z.ZodNumber; privateKey: z.ZodOptional; vars: z.ZodRecord; }, z.core.$strip>; /** Parsed host after defaults and variables have been resolved. */ export type ResolvedHost = z.output; /** * The shape of a loaded inventory module after dynamic import. */ export declare const InventoryModuleSchema: z.ZodObject<{ inventory: z.ZodObject<{ defaults: z.ZodOptional; port: z.ZodOptional; privateKey: z.ZodOptional; }, z.core.$strip>>; vars: z.ZodOptional>; groups: z.ZodOptional; port: z.ZodOptional; privateKey: z.ZodOptional; vars: z.ZodOptional>; }, z.core.$strip>>; vars: z.ZodOptional>; }, z.core.$strip>>>; hosts: z.ZodOptional; port: z.ZodOptional; privateKey: z.ZodOptional; vars: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; path: z.ZodString; }, z.core.$strip>; /** Parsed inventory module returned by `loadInventory()`. */ export type InventoryModule = z.output; //# sourceMappingURL=types.d.ts.map