import type { CoValue, LoadedAndRequired, MaybeLoaded } from "../internal.js"; export declare function isCoValueId(id: unknown): id is `co_z${string}`; /** * Assert that a CoValue is loaded, otherwise throw an error */ export declare function assertLoaded>(coValue: T): asserts coValue is LoadedAndRequired; /** * Get a loaded CoValue or `undefined` if it is not loaded. * * Can be used to ease the transition between nullable loading states from Jazz 0.18 * and explicit loading states from Jazz 0.19. */ export declare function getLoadedOrUndefined>(coValue: T | undefined | null): LoadedAndRequired | undefined; //# sourceMappingURL=utils.d.ts.map