/** * Template detection for the fly lexicon. * * `chant import` parses a template file as JSON and asks each installed lexicon * whether it recognizes the shape. fly's importable source is flaps JSON — the * Machines API surface the #738 serializer emits and the applier POSTs. Three * shapes are recognized: * * 1. The serializer plan: an object keyed by entity name whose values are * `{ endpoint, method, body }` flaps requests (what #738 produces). * 2. A machine, a machines listing, or an app-with-machines bundle: what * `GET /v1/apps/{app}/machines` returns, or a single machine create body. * 3. An app: a create body (`{ app_name }`) or the `GET /v1/apps/{app}` shape. */ /** The serializer's whole output: entity name → flaps request. */ export declare function isSerializerPlan(v: unknown): boolean; /** A live or create-body machine: carries a `config` object, or the id+state+region GET shape. */ export declare function isMachineObject(v: unknown): boolean; /** An app: a create body (`app_name`) or the `GET /v1/apps/{app}` shape (`name` + machine_count/organization/status). */ export declare function isAppObject(v: unknown): boolean; export declare function detectTemplate(data: unknown): boolean; //# sourceMappingURL=detect.d.ts.map