import type { ItemIdentity } from "@contfu/core"; import { type IncludeOption, type PlainDateOutput, type WithClause } from "@contfu/core"; import type { ItemWithRelations } from "../../domain/query-types.js"; export declare function getItemById(id: ItemIdentity, options?: { include?: IncludeOption[]; with?: WithClause; includeDeleted?: boolean; onlyDeleted?: boolean; plainDatesAs?: PlainDateOutput; }, ctx?: import("../../infra/db/db-bun.js").DbCtx): ItemWithRelations | null;