export type PreviewUrlTarget = 'staging' | 'production' | 'siteLivePreview' | 'contentfulEntry' | 'contentfulLivePreview'; export interface BuildPreviewUrlsInput { spaceId: string; environment: string; entryId?: string; slug?: string; devBaseUrl?: string; productionSiteUrl?: string; requestParams?: Record; focusedField?: string; } export interface PreviewUrlResult { target: PreviewUrlTarget; label: string; url: string | null; /** When true, draft-only changes are visible at this URL. */ showsDrafts: boolean; notes?: string; } export declare function sortPreviewUrlResults(results: PreviewUrlResult[]): PreviewUrlResult[]; export declare function buildContentfulEntryUrl(spaceId: string, environment: string, entryId: string, options?: { focusedField?: string; }): string; /** * Fetches Contentful's in-app live preview URL (includes ephemeral preview token). * Falls back to null when the API is unavailable or the token cannot be resolved. */ export declare function fetchContentfulLivePreviewUrl(spaceId: string, environment: string, entryId: string, managementToken: string): Promise; export declare function buildPreviewUrls(input: BuildPreviewUrlsInput): PreviewUrlResult[]; export declare function buildAllPreviewUrls(input: BuildPreviewUrlsInput & { managementToken?: string; }): Promise; //# sourceMappingURL=entry-urls.d.ts.map