import type { _IConditionalDependencyReferenceBase as IConditionalDependencyReferenceBase, _IConditionalVersion as IConditionalVersion } from '@microsoft/sp-module-interfaces'; /** * Returns true if a conditional override's condition evaluates to true * and the flighted-dependencies feature has not been killswitched off. * * Used at ingestion time (resolveFallbackVersions) to evaluate individual override entries. */ export declare function shouldApplyConditionalFallback(fallback: IConditionalDependencyReferenceBase | undefined): fallback is IConditionalDependencyReferenceBase; /** * Returns true if a conditional override should be applied during late resolution * (i.e. ingestion-time resolution was disabled by killswitch, but the override * condition itself evaluates to true). * * Used by resolveAddress and loadComponentDependency when resolution at ingestion * time was skipped. */ export declare function shouldApplyLateResolutionFallback(fallback: IConditionalDependencyReferenceBase | undefined): fallback is IConditionalDependencyReferenceBase; /** * Given an array of conditional overrides, returns the first entry whose condition * evaluates to true at ingestion time, or undefined if none match. */ export declare function findMatchingOverride(overrides: T[] | undefined): T | undefined; /** * Given an array of conditional overrides, returns the first entry whose condition * evaluates to true during late resolution (ingestion KS active), or undefined if none match. */ export declare function findMatchingLateOverride(overrides: T[] | undefined): T | undefined; /** * Resolve the effective component version for an async-component preamble entry: apply the * first matching conditional override unless the conditionalOverrides feature is killswitched * off, in which case the base version is used. Shared by the async loadComponentById impls. */ export declare function resolveAsyncComponentVersion(version: string | undefined, conditionalOverrides: IConditionalVersion[] | undefined): string | undefined; //# sourceMappingURL=conditionalFallback.d.ts.map