import { ApiError } from "@swishapp/api-client"; import { SwishApp } from "../swish"; export declare const itemCountSignal: (swish: SwishApp) => () => import("@preact/signals-core").ReadonlySignal<{ count: number; loading: boolean; refetching: boolean; error: ApiError | null; }> & { /** Stops the refetch loop and releases the event listener. */ dispose: () => void; };