/** * `@lit/task` controllers on a live element, read without importing the * library: the inspector shows them, the timeline's lifecycle layer reports * the ones that fail. */ import { type Dict } from './live-reads.js'; export declare const TASK_ERROR: number; /** The `TaskStatus` name for a status number, or the number itself. */ export declare const taskStatusName: (status: number) => string; /** `@lit/task` duck type: a controller with a numeric status, run() and render(). */ export declare const taskStatus: (v: Dict) => number | undefined; /** * Every `@lit/task` controller the element holds, with the field it is stored * in (else its class name). Read-only and never throws, so the lifecycle layer * can call it on recorded updates. */ export declare const tasksOf: (el: Element) => Array<{ task: object; name: string; }>; /** * Every `@lit/task` controller the element holds that is currently in its * error state, named as by {@link tasksOf}. Read-only and never throws, so the * lifecycle layer can call it after each update. */ export declare const erroredTasks: (el: Element) => Array<{ task: object; name: string; error: unknown; }>; //# sourceMappingURL=lit-tasks.d.ts.map