import { BaseJobTypeDefinitions, Client, StateAdapter } from "queuert"; //#region src/api/dashboard.d.ts /** * Create an embeddable dashboard request handler. Returns a `{ fetch }` object compatible with standard `Request`/`Response`. * * When mounting the dashboard at a sub-path (e.g. behind a reverse proxy or framework router), * set `basePath` to the mount prefix so that routing and asset loading work correctly. * * @example * ```ts * const dashboard = await createDashboard({ client, basePath: '/internal/queuert' }); * ``` * * @experimental */ declare const createDashboard: >(options: { client: Client; /** Mount prefix without trailing slash (e.g. `'/internal/queuert'`). Defaults to `''` (root). */ basePath?: string; }) => Promise<{ fetch: (request: Request) => Response | Promise; }>; //#endregion export { createDashboard }; //# sourceMappingURL=index.d.mts.map