import { ClientUtilsConfig, FileGenerationConfig, ScaffoldConfig, SdkConfig, TypesConfig } from "../types/index.mjs"; import { Nitro } from "nitropack/types"; //#region src/utils/path-resolver.d.ts /** * Placeholder values for path resolution */ interface PathPlaceholders { serviceName?: string; buildDir: string; rootDir: string; framework: 'nuxt' | 'nitro'; typesDir: string; serverGraphql: string; clientGraphql: string; } /** * Replace placeholders in a path string * Supports: {serviceName}, {buildDir}, {rootDir}, {framework}, {typesDir}, {serverGraphql}, {clientGraphql} */ declare function replacePlaceholders(path: string, placeholders: PathPlaceholders): string; /** * Get default paths based on framework and user configuration */ declare function getDefaultPaths(nitro: Nitro): Required; /** * Check if a file should be generated based on config * Returns: true if should generate, false if should skip */ declare function shouldGenerateFile(config: FileGenerationConfig | undefined, categoryEnabled: boolean | undefined, topLevelEnabled: boolean): boolean; /** * Resolve the file path based on configuration * Returns: resolved absolute path or null if file should not be generated */ declare function resolveFilePath(config: FileGenerationConfig | undefined, categoryEnabled: boolean | undefined, topLevelEnabled: boolean, defaultPath: string, placeholders: PathPlaceholders): string | null; /** * Check if scaffold files should be generated (category-level check) */ declare function shouldGenerateScaffold(nitro: Nitro): boolean; /** * Get scaffold configuration (handles false case) */ declare function getScaffoldConfig(nitro: Nitro): ScaffoldConfig; /** * Check if client utilities should be generated (category-level check) */ declare function shouldGenerateClientUtils(nitro: Nitro): boolean; /** * Get client utilities configuration (handles false case) */ declare function getClientUtilsConfig(nitro: Nitro): ClientUtilsConfig; /** * Check if SDK files should be generated (category-level check) */ declare function shouldGenerateSDK(nitro: Nitro): boolean; /** * Get SDK configuration (handles false case) */ declare function getSdkConfig(nitro: Nitro): SdkConfig; /** * Check if type files should be generated (category-level check) */ declare function shouldGenerateTypes(nitro: Nitro): boolean; /** * Get types configuration (handles false case) */ declare function getTypesConfig(nitro: Nitro): TypesConfig; //#endregion export { PathPlaceholders, getClientUtilsConfig, getDefaultPaths, getScaffoldConfig, getSdkConfig, getTypesConfig, replacePlaceholders, resolveFilePath, shouldGenerateClientUtils, shouldGenerateFile, shouldGenerateSDK, shouldGenerateScaffold, shouldGenerateTypes };