import type { StreamUploadSession, StreamVideoFromDocument } from '@/types/index.js'; import type { BasePayload, TypeWithID } from 'payload'; import { BunnyStreamVideoStatus } from '@/types/index.js'; export declare const canUploadToVideo: (status: BunnyStreamVideoStatus) => boolean; export declare const isVideoInErrorState: (status: BunnyStreamVideoStatus) => boolean; export declare const isVideoProcessed: (status: BunnyStreamVideoStatus) => boolean; export declare const parseVideoFromDocument: (doc: TypeWithID | undefined, filename: string) => StreamVideoFromDocument | undefined; export declare const createStreamVideoSession: ({ libraryId, payload, videoId, }: { libraryId: number; payload: BasePayload; videoId: string; }) => Promise; export declare const deleteStreamVideoSession: ({ libraryId, payload, videoId, }: { libraryId: number; payload: BasePayload; videoId: string; }) => Promise;