import { type EntrySubrouteContextData } from '@riverbankcms/blocks';
/**
 * Render-agnostic model for the "you're previewing a sub-entry" notice.
 *
 * Built generically from a {@link SubrouteKindMeta} so consumers (the sidebar
 * notice today, breadcrumbs/SEO tomorrow) share one source of nouns and copy.
 */
export type SubrouteNoticeModel = {
    title: string;
    body: string;
    cta: {
        label: string;
        href: string;
    } | null;
    /** Shown when the dashboard URL can't be built (e.g. missing env var). */
    fallbackMessage: string | null;
};
/**
 * Resolve the notice model for the current subroute context.
 *
 * Returns null when there's no subroute context, meaning the consumer should
 * render nothing.
 */
export declare function resolveSubrouteNotice(ctx: EntrySubrouteContextData | null, args: {
    siteId: string;
}): SubrouteNoticeModel | null;
