// Code generated by seatgen from the seat definitions; DO NOT EDIT. // The contract of the seat "mesh-provisioner", defined whole (seats/mesh-provisioner/seat.json): The provisioner (ADR 0349): which domain answers which kind of placeholder, what each module needs, what is applied where. export declare const seat: "mesh-provisioner"; export declare const verbs: { readonly provisioning: "provisioning"; }; export declare const states: { readonly plans: "plans"; readonly provisions: "provisions"; }; /** The key of one value of the state plans under the form ".". */ export declare function plansByNodeModuleKey(node: string, module: string): string; /** The parts of a key of the form ".", or undefined for a key of another form. */ export declare function parsePlansByNodeModuleKey(_key: string): { node: string; module: string } | undefined; /** The key of one value of the state provisions under the form "..". */ export declare function provisionsByNodeConsumerProvisionKey(node: string, consumer: string, provision: string): string; /** The parts of a key of the form "..", or undefined for a key of another form. */ export declare function parseProvisionsByNodeConsumerProvisionKey(_key: string): { node: string; consumer: string; provision: string } | undefined; /** The key of one value of the state provisions under the form "...". */ export declare function provisionsByNodeConsumerProvisionLocalKey(node: string, consumer: string, provision: string, local: string): string; /** The parts of a key of the form "...", or undefined for a key of another form. */ export declare function parseProvisionsByNodeConsumerProvisionLocalKey(_key: string): { node: string; consumer: string; provision: string; local: string } | undefined; /** is what provisioning takes. */ export interface ProvisioningInput { /** for collect: a collection */ "collection"?: string; /** a module: for collect, a contributor */ "module"?: string; /** a node */ "node"?: string; /** registry (when not given), needs, applied or collect */ "what"?: string; } /** is what provisioning answers. */ export type ProvisioningAnswer = Record; /** is one value of the state plans under the key .. */ export interface PlansByNodeModuleValue { "module": string; "node": string; /** the module's plan */ "plan": Record; "v"?: number; } export interface ProvisionsByNodeConsumerProvisionValueConsumer { "module"?: string; "node"?: string; } /** the plan's provision: the entry the key was composed from, at the consumer's wanted build or its newest (issue 1126) */ export interface ProvisionsByNodeConsumerProvisionValuePlan { "as"?: string; "at"?: string; /** the provider's own contract's bytes, carried unread */ "contributed"?: Record; "contributes"?: Record; "credential-form"?: unknown; "credential-tool"?: string; "from"?: string; "local"?: string; "name"?: string; "names"?: Record; "path"?: string; "provider": string; "provider-module": string; "provision": string; } export interface ProvisionsByNodeConsumerProvisionValueProvider { "module"?: string; "node"?: string; } export interface ProvisionsByNodeConsumerProvisionValueReference { "generation"?: number; "id"?: string; } export interface ProvisionsByNodeConsumerProvisionValueWarrant { "ask"?: string; "at"?: string; "by"?: string; "option"?: string; } /** is one value of the state provisions under the key ... */ export interface ProvisionsByNodeConsumerProvisionValue { "ask"?: string; "at": string; "consumer": ProvisionsByNodeConsumerProvisionValueConsumer; "depends-on"?: string[]; "local"?: string; /** the plan's provision: the entry the key was composed from, at the consumer's wanted build or its newest (issue 1126) */ "plan"?: ProvisionsByNodeConsumerProvisionValuePlan; "provider": ProvisionsByNodeConsumerProvisionValueProvider; "provision": string; "reference"?: ProvisionsByNodeConsumerProvisionValueReference; "state": "asked" | "provided" | "waits" | "failed" | "retiring"; "v"?: number; "warrant"?: ProvisionsByNodeConsumerProvisionValueWarrant; "why"?: string; } export interface ProvisionsByNodeConsumerProvisionLocalValueConsumer { "module"?: string; "node"?: string; } /** the plan's provision: the entry the key was composed from, at the consumer's wanted build or its newest (issue 1126) */ export interface ProvisionsByNodeConsumerProvisionLocalValuePlan { "as"?: string; "at"?: string; /** the provider's own contract's bytes, carried unread */ "contributed"?: Record; "contributes"?: Record; "credential-form"?: unknown; "credential-tool"?: string; "from"?: string; "local"?: string; "name"?: string; "names"?: Record; "path"?: string; "provider": string; "provider-module": string; "provision": string; } export interface ProvisionsByNodeConsumerProvisionLocalValueProvider { "module"?: string; "node"?: string; } export interface ProvisionsByNodeConsumerProvisionLocalValueReference { "generation"?: number; "id"?: string; } export interface ProvisionsByNodeConsumerProvisionLocalValueWarrant { "ask"?: string; "at"?: string; "by"?: string; "option"?: string; } /** is one value of the state provisions under the key .... */ export interface ProvisionsByNodeConsumerProvisionLocalValue { "ask"?: string; "at": string; "consumer": ProvisionsByNodeConsumerProvisionLocalValueConsumer; "depends-on"?: string[]; "local"?: string; /** the plan's provision: the entry the key was composed from, at the consumer's wanted build or its newest (issue 1126) */ "plan"?: ProvisionsByNodeConsumerProvisionLocalValuePlan; "provider": ProvisionsByNodeConsumerProvisionLocalValueProvider; "provision": string; "reference"?: ProvisionsByNodeConsumerProvisionLocalValueReference; "state": "asked" | "provided" | "waits" | "failed" | "retiring"; "v"?: number; "warrant"?: ProvisionsByNodeConsumerProvisionLocalValueWarrant; "why"?: string; }