import type { SqlfuUiHost } from '../host.js'; import { type SqlfuUiProject } from './router.js'; export type SqlfuUiAssetBody = string | Uint8Array | ArrayBuffer | Blob | Response; export type SqlfuUiAsset = SqlfuUiAssetBody | (() => SqlfuUiAssetBody | Promise); export type SqlfuUiAssets = Record; export type SqlfuUiPartialFetch = (request: Request) => Promise; export type CreateSqlfuUiPartialFetchInput = { assets: SqlfuUiAssets; host: SqlfuUiHost; prefixPath?: string; project: SqlfuUiProject; }; /** * A partial server-side `fetch` implementation. Gives you a function that maps a `Request` to: * - a `Response` if the `@sqlfu/ui` can handle the request. * - `undefined` if the `@sqlfu/ui` cannot handle the request - you can pass through to your own `fetch` implementation in this case. */ export declare function createSqlfuUiPartialFetch(input: CreateSqlfuUiPartialFetchInput): SqlfuUiPartialFetch;