import "./task-list-zO8UZG5r.mjs"; import * as v from "valibot"; import * as _orpc_contract0 from "@orpc/contract"; import { ContractRouterClient } from "@orpc/contract"; //#region src/api/contract.d.ts declare const api: { manager: { status: _orpc_contract0.ContractProcedureBuilderWithOutput, v.ObjectSchema<{ readonly state: v.PicklistSchema<["idle", "initializing", "running", "stopping", "stopped"], undefined>; readonly processCount: v.NumberSchema; readonly cronCount: v.NumberSchema; readonly taskCount: v.NumberSchema; }, undefined>, Record, Record>; }; processes: { get: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "running", "restarting", "stopping", "stopped", "crash-loop-backoff", "max-restarts-reached"], undefined>; readonly restarts: v.NumberSchema; }, undefined>, Record, Record>; list: _orpc_contract0.ContractProcedureBuilderWithOutput, v.ArraySchema; readonly state: v.PicklistSchema<["idle", "running", "restarting", "stopping", "stopped", "crash-loop-backoff", "max-restarts-reached"], undefined>; readonly restarts: v.NumberSchema; }, undefined>, undefined>, Record, Record>; add: _orpc_contract0.ContractProcedureBuilderWithInputOutput; readonly definition: v.ObjectSchema<{ readonly command: v.StringSchema; readonly args: v.OptionalSchema, undefined>, undefined>; readonly cwd: v.OptionalSchema, undefined>; readonly env: v.OptionalSchema, v.StringSchema, undefined>, undefined>; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "running", "restarting", "stopping", "stopped", "crash-loop-backoff", "max-restarts-reached"], undefined>; readonly restarts: v.NumberSchema; }, undefined>, Record, Record>; start: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "running", "restarting", "stopping", "stopped", "crash-loop-backoff", "max-restarts-reached"], undefined>; readonly restarts: v.NumberSchema; }, undefined>, Record, Record>; stop: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "running", "restarting", "stopping", "stopped", "crash-loop-backoff", "max-restarts-reached"], undefined>; readonly restarts: v.NumberSchema; }, undefined>, Record, Record>; restart: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; readonly force: v.OptionalSchema, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "running", "restarting", "stopping", "stopped", "crash-loop-backoff", "max-restarts-reached"], undefined>; readonly restarts: v.NumberSchema; }, undefined>, Record, Record>; reload: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; readonly definition: v.ObjectSchema<{ readonly command: v.StringSchema; readonly args: v.OptionalSchema, undefined>, undefined>; readonly cwd: v.OptionalSchema, undefined>; readonly env: v.OptionalSchema, v.StringSchema, undefined>, undefined>; }, undefined>; readonly restartImmediately: v.OptionalSchema, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "running", "restarting", "stopping", "stopped", "crash-loop-backoff", "max-restarts-reached"], undefined>; readonly restarts: v.NumberSchema; }, undefined>, Record, Record>; remove: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly success: v.BooleanSchema; }, undefined>, Record, Record>; }; tasks: { get: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly id: v.StringSchema; readonly state: v.PicklistSchema<["pending", "running", "completed", "failed", "skipped"], undefined>; readonly processNames: v.ArraySchema, undefined>; }, undefined>, Record, Record>; list: _orpc_contract0.ContractProcedureBuilderWithOutput, v.ArraySchema; readonly state: v.PicklistSchema<["pending", "running", "completed", "failed", "skipped"], undefined>; readonly processNames: v.ArraySchema, undefined>; }, undefined>, undefined>, Record, Record>; add: _orpc_contract0.ContractProcedureBuilderWithInputOutput; readonly definition: v.ObjectSchema<{ readonly command: v.StringSchema; readonly args: v.OptionalSchema, undefined>, undefined>; readonly cwd: v.OptionalSchema, undefined>; readonly env: v.OptionalSchema, v.StringSchema, undefined>, undefined>; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly id: v.StringSchema; readonly state: v.PicklistSchema<["pending", "running", "completed", "failed", "skipped"], undefined>; readonly processNames: v.ArraySchema, undefined>; }, undefined>, Record, Record>; remove: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly id: v.StringSchema; readonly state: v.PicklistSchema<["pending", "running", "completed", "failed", "skipped"], undefined>; readonly processNames: v.ArraySchema, undefined>; }, undefined>, Record, Record>; }; crons: { get: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "scheduled", "running", "retrying", "queued", "stopping", "stopped"], undefined>; readonly runCount: v.NumberSchema; readonly failCount: v.NumberSchema; readonly nextRun: v.NullableSchema, undefined>; }, undefined>, Record, Record>; list: _orpc_contract0.ContractProcedureBuilderWithOutput, v.ArraySchema; readonly state: v.PicklistSchema<["idle", "scheduled", "running", "retrying", "queued", "stopping", "stopped"], undefined>; readonly runCount: v.NumberSchema; readonly failCount: v.NumberSchema; readonly nextRun: v.NullableSchema, undefined>; }, undefined>, undefined>, Record, Record>; trigger: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "scheduled", "running", "retrying", "queued", "stopping", "stopped"], undefined>; readonly runCount: v.NumberSchema; readonly failCount: v.NumberSchema; readonly nextRun: v.NullableSchema, undefined>; }, undefined>, Record, Record>; start: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "scheduled", "running", "retrying", "queued", "stopping", "stopped"], undefined>; readonly runCount: v.NumberSchema; readonly failCount: v.NumberSchema; readonly nextRun: v.NullableSchema, undefined>; }, undefined>, Record, Record>; stop: _orpc_contract0.ContractProcedureBuilderWithInputOutput, v.NumberSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly state: v.PicklistSchema<["idle", "scheduled", "running", "retrying", "queued", "stopping", "stopped"], undefined>; readonly runCount: v.NumberSchema; readonly failCount: v.NumberSchema; readonly nextRun: v.NullableSchema, undefined>; }, undefined>, Record, Record>; }; }; //#endregion //#region src/api/client.d.ts declare function createClient(url?: string): ContractRouterClient; //#endregion export { createClient }; //# sourceMappingURL=client.d.mts.map