import type { EntryProps } from 'contentful-management'; import type { SafeEnvironment } from './client.js'; export type MediaHorizontalPosition = 'Left' | 'Middle' | 'Right'; export declare function parseMediaHorizontalPosition(input: string | undefined): MediaHorizontalPosition | undefined; export interface CreateMediaEntryOptions { assetId: string; name: string; locale: string; position?: string; width?: number; } /** Media entry list label — prefer the linked asset's title. */ export declare function defaultMediaNameForAsset(env: SafeEnvironment, assetId: string, fallback?: string): Promise; /** * Creates a draft Media entry linking to an asset. */ export declare function createMediaEntry(env: SafeEnvironment, opts: CreateMediaEntryOptions): Promise<{ id: string; }>; export declare function listMediaForAsset(env: SafeEnvironment, assetId: string, locale: string): Promise>; /** Fetches all Media entries linking to an asset (paginated). */ export declare function listAllMediaForAsset(env: SafeEnvironment, assetId: string, _locale: string): Promise; //# sourceMappingURL=media.d.ts.map