//#region src/config-rendering.d.ts /** * Packages that export the `HexclaveConfig` type, in priority order. * The first match found in a project's dependencies wins. Hexclave-branded * packages come first (canonical); the legacy `@stackframe/*` names remain * so projects pinned to the last legacy release still render a config file * that compiles against their installed SDK. */ declare const CONFIG_IMPORT_PACKAGES: readonly ["@hexclave/next", "@hexclave/react", "@hexclave/tanstack-start", "@hexclave/js", "@hexclave/template", "@stackframe/stack", "@stackframe/react", "@stackframe/js", "@stackframe/template"]; /** * Given a list of dependency names (from package.json), returns the SDK * package that should be used for the `HexclaveConfig` import, or `undefined` * if none of the known packages are installed. */ declare function detectConfigImportPackage(dependencies: string[]): string | undefined; /** * Renders a config object into the source text of a `stack.config.ts` file. */ declare function renderConfigFileContent(config: unknown, importPackage?: string): string; //#endregion export { CONFIG_IMPORT_PACKAGES, detectConfigImportPackage, renderConfigFileContent }; //# sourceMappingURL=config-rendering.d.ts.map