import type { MediaAssetWithLabels, MediaKind } from '@riverbankcms/media-storage-supabase';
export type ResolveAllowedMediaKindsInput = {
    readonly allowedKinds?: readonly MediaKind[];
};
export declare function mediaKindForMimeType(mimeType: string): MediaKind | null;
export declare function mediaKindForAsset(asset: Pick<MediaAssetWithLabels, 'mimeType'>): MediaKind | null;
export declare function resolveAllowedMediaKinds(input: ResolveAllowedMediaKindsInput): readonly MediaKind[];
export declare function mediaAcceptForKinds(kinds: readonly MediaKind[]): string;
export declare function fileMatchesMediaKind(file: File, kind: MediaKind): boolean;
