import type { FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine"; import { type TestStack, type TestStackOptions } from "@cosmicdrift/kumiko-framework/stack"; import { type ComposeFeaturesOptions } from "@cosmicdrift/kumiko-server-runtime/compose-features"; export type TestStackPreset = "config" | "template-resolver"; export type SetupTestStackFromFeaturesOptions = Omit & { readonly includeBundled?: boolean; readonly authOptions?: ComposeFeaturesOptions["authOptions"]; readonly presets?: readonly TestStackPreset[]; }; export declare function mergeExtraContext(base: TestStackOptions["extraContext"], presets: readonly TestStackPreset[]): TestStackOptions["extraContext"]; export declare function setupTestStackFromFeatures(appFeatures: readonly FeatureDefinition[], options?: SetupTestStackFromFeaturesOptions): Promise;