/** Task definitions (jobs / crons / services) — upsert by taskName + envId. */ import type { MachineSize } from '@sylphx/contract'; import type { Client } from './client.js'; import type { Task } from './types.js'; export interface OrgScopedRequestOptions { readonly orgId?: string; } export declare const list: (client: Client, projectId: string, envType?: string, options?: OrgScopedRequestOptions) => Promise; export interface CreateInput { readonly taskName: string; readonly envType: string; readonly executionMode?: 'job' | 'service' | 'cron'; readonly command?: readonly string[]; readonly imageRef?: string; readonly machine?: MachineSize; readonly handlerPath?: string; readonly timeoutSeconds?: number; readonly retryConfig?: { maxAttempts?: number; backoff?: 'fixed' | 'exponential'; }; } export declare const create: (client: Client, projectId: string, input: CreateInput, options?: OrgScopedRequestOptions) => Promise; export declare const get: (client: Client, projectId: string, taskId: string, options?: OrgScopedRequestOptions) => Promise; export type UpdateInput = Partial>; export declare const update: (client: Client, projectId: string, taskId: string, input: UpdateInput, options?: OrgScopedRequestOptions) => Promise; declare const _delete: (client: Client, projectId: string, taskId: string, options?: OrgScopedRequestOptions) => Promise; export { _delete as delete }; //# sourceMappingURL=tasks.d.ts.map