import type { PlatformConfig, PlatformOption } from '../../types/platform'; import type { SelectableOption } from '../../components/features'; export interface UsePlatformConfigResult { platforms: PlatformConfig[]; platformOptions: PlatformOption[]; selectableOptions: SelectableOption[]; isLoading: boolean; error: Error | null; } /** * Custom hook to fetch platform configurations from API * Provides both full platform configs and simplified options for dropdowns * Heavily cached to prevent excessive API calls - should only call once per session * * NOTE: This hook is designed to work without react-query dependency */ export declare function usePlatformConfig(): UsePlatformConfigResult; /** * Get platform configuration by value */ export declare function usePlatformByValue(value: string): PlatformConfig | undefined; /** * Check if a platform value is valid */ export declare function useValidatePlatform(value: string): boolean; //# sourceMappingURL=use-platform-config.d.ts.map