import type { Command } from 'commander'; /** Shared flat lookup flags for `open`, `peek`, and `resolve`. */ export declare const ENTRY_LOOKUP_OPEN_CLI_OPTIONS: readonly [readonly ["--id ", "Contentful entry ID"], readonly ["--page-slug ", "Page slug"], readonly ["--page-title ", "Page title"], readonly ["--page-cms-label <label>", "Page cmsLabel"], readonly ["--article-slug <slug>", "Article slug"], readonly ["--article-title <title>", "Article title"], readonly ["--article-cms-label <label>", "Article cmsLabel"], readonly ["--page-variant-slug <slug>", "Page variant slug"], readonly ["--page-variant-title <title>", "Page variant title"], readonly ["--page-variant-cms-label <label>", "Page variant cmsLabel"], readonly ["--tag-slug <slug>", "Tag slug (optional: --tag-type-slug / --tag-type-name to scope)"], readonly ["--tag-name <name>", "Tag name (optional: --tag-type-slug / --tag-type-name to scope)"], readonly ["--tag-cms-label <label>", "Tag cmsLabel (optional: --tag-type-slug / --tag-type-name to scope)"], readonly ["--tag-type-slug <slug>", "Tag type slug"], readonly ["--tag-type-name <name>", "Tag type name"], readonly ["--article-type-slug <slug>", "Article type slug"], readonly ["--article-type-name <name>", "Article type name"], readonly ["--template-label <label>", "Template cmsLabel"], readonly ["--label <label>", "Alias for --template-label"]]; /** Navigation lookup flags used by `resolve` only. */ export declare const ENTRY_LOOKUP_RESOLVE_NAV_CLI_OPTIONS: readonly [readonly ["--nav-id <id>", "Navigation entry ID"], readonly ["--nav-name <name>", "Navigation name"], readonly ["--nav-item-id <id>", "Navigation item entry ID"], readonly ["--nav-item-title <title>", "Navigation item title (use --nav-id when titles collide)"]]; export declare function registerEntryLookupOpenOptions(cmd: Command): void; export declare function registerEntryLookupResolveOptions(cmd: Command): void; export type EntryLookupTarget = { kind: 'entryId'; id: string; } | { kind: 'pageSlug'; slug: string; } | { kind: 'pageTitle'; title: string; } | { kind: 'pageCmsLabel'; cmsLabel: string; } | { kind: 'articleSlug'; slug: string; } | { kind: 'articleTitle'; title: string; } | { kind: 'articleCmsLabel'; cmsLabel: string; } | { kind: 'pageVariantSlug'; slug: string; } | { kind: 'pageVariantTitle'; title: string; } | { kind: 'pageVariantCmsLabel'; cmsLabel: string; } | { kind: 'tagSlug'; slug: string; tagTypeSlug?: string; tagTypeName?: string; } | { kind: 'tagName'; name: string; tagTypeSlug?: string; tagTypeName?: string; } | { kind: 'tagCmsLabel'; cmsLabel: string; tagTypeSlug?: string; tagTypeName?: string; } | { kind: 'tagTypeSlug'; slug: string; } | { kind: 'tagTypeName'; name: string; } | { kind: 'articleTypeSlug'; slug: string; } | { kind: 'articleTypeName'; name: string; } | { kind: 'templateLabel'; label: string; } | { kind: 'navId'; id: string; } | { kind: 'navName'; name: string; } | { kind: 'navItemId'; id: string; } | { kind: 'navItemTitle'; title: string; navId?: string; }; export interface EntryLookupCliOptions { id?: string; pageSlug?: string; pageTitle?: string; pageCmsLabel?: string; articleSlug?: string; articleTitle?: string; articleCmsLabel?: string; pageVariantSlug?: string; pageVariantTitle?: string; pageVariantCmsLabel?: string; tagSlug?: string; tagName?: string; tagCmsLabel?: string; tagTypeSlug?: string; tagTypeName?: string; articleTypeSlug?: string; articleTypeName?: string; templateLabel?: string; label?: string; navId?: string; navName?: string; navItemId?: string; navItemTitle?: string; } /** * Parses flat CLI lookup flags into a single target. Returns null when none or multiple primaries are set. */ export declare function parseEntryLookupTarget(opts: EntryLookupCliOptions): EntryLookupTarget | null; export declare function entryLookupTargetErrorMessage(): string; export declare function entryLookupTargetDescription(target: EntryLookupTarget): string; //# sourceMappingURL=entry-lookup-target.d.ts.map