import { BunnyDataInternal, CollectionContext } from "../../../shared/types/core.js"; import "../../../shared/types/index.js"; import { CollectionAfterReadHook, GroupField, TypeWithID } from "payload"; //#region src/server/payload/fields/bunnyGroupField.d.ts type StoredResolutions = { available?: string[]; highest?: string; }; type StoredStream = { resolutions?: StoredResolutions; videoId?: null | string; }; declare const bunnyGroupField: (context: CollectionContext) => GroupField; declare const getAfterReadHook: () => CollectionAfterReadHook; declare const readStoredVideo: (doc: unknown) => StoredStream | undefined; declare const setStoredVideoId: (data: Record, videoId: null | string) => void; declare const getBunnyData: (doc: TypeWithID | undefined, filename: string) => BunnyDataInternal | null; //#endregion export { bunnyGroupField, getAfterReadHook, getBunnyData, readStoredVideo, setStoredVideoId }; //# sourceMappingURL=bunnyGroupField.d.ts.map