import type { BlueprintDeclaration, RuntimeConfiguration } from '../types'; import type { BlueprintV2Declaration } from './blueprint-v2-declaration'; /** * Resolves the runtime settings required by a Blueprint v2 declaration. * * This module owns the v2 support boundary: unsupported declarations and * runtime sources are rejected here instead of falling back to v1 behavior. * The validation callback runs before any runtime source is resolved. */ export declare function resolveBlueprintV2RuntimeConfiguration(declaration: BlueprintDeclaration, siteMode?: BlueprintV2SiteMode, onBlueprintValidated?: (declaration: BlueprintV2Declaration) => void): Promise; /** Describes whether Playground creates a site or applies to mounted files. */ export type BlueprintV2SiteMode = 'create-new-site' | 'apply-to-existing-site'; /** * Verifies that an existing site satisfies its Blueprint v2 WordPress version. * * Only constraint objects restrict an existing site. Shorthand versions, * including `latest` and concrete releases, are new-site selection hints. * `preferred` is also a selection hint and does not narrow compatibility. */ export declare function assertBlueprintV2WordPressVersionCompatibility(declaration: BlueprintV2Declaration, installedVersion: string): Promise;