export interface SpaceConfig { spaceId: string; environment: string; managementToken: string; defaultLocale: string; /** Base URL of the local dev server for this space (preview url, preview showcase). e.g. "http://localhost:3013" */ devBaseUrl?: string; /** Canonical production URL (no trailing slash). Used by `preview urls` for the production target. */ productionSiteUrl?: string; /** * HTTP headers injected into devBaseUrl requests (e.g. cms-capture-screenshots via agent-browser). * Useful for deployment protection bypass that requires a header rather than a query param. * Values support ${ENV_VAR} token syntax. * Example: { "x-custom-header": "${CUSTOM_TOKEN}" } */ requestHeaders?: Record; /** * Query parameters appended to devBaseUrl requests (preview url, preview showcase, cms-capture-screenshots). * Useful for Vercel deployment protection bypass: { "x-vercel-protection-bypass": "${VERCEL_BYPASS_TOKEN}" } * Values support ${ENV_VAR} token syntax. */ requestParams?: Record; /** * Content Delivery API token for `index sync --published` (optional). * Supports ${ENV_VAR} syntax. When unset, resolved via CMA API keys at sync time. */ deliveryAccessToken?: string; /** Prefer a delivery API key with this name from space.getApiKeys(). */ deliveryApiKeyName?: string; /** When true and no matching key exists, create a cms-edit-index delivery key (requires PAT permissions). Used with `--published` sync only. */ autoCreateDeliveryApiKey?: boolean; /** * Preview API token for default `index sync` (draft content). * Supports ${ENV_VAR} syntax. When unset, resolved from the linked preview key at sync time. */ previewAccessToken?: string; } export interface CmsEditConfig { defaultSpace?: string; spaces: Record; } //# sourceMappingURL=types.d.ts.map