/** * Configuration options for MapLibre GL performance optimization */ export interface MaplibreConfigOptions { /** Number of web workers for tile loading (default: 4) */ workerCount?: number; /** Maximum parallel image requests (default: 16) */ maxParallelImageRequests?: number; /** Whether to prewarm MapLibre resources on initialization (default: true) */ prewarmResources?: boolean; /** Enable debug logging */ debug?: boolean; } /** * Actions returned by useMaplibreConfig */ export interface MaplibreConfigActions { /** Clears prewarmed resources - call on app unmount to release memory */ clearPrewarmedResources: () => void; } /** * Composable for configuring MapLibre GL global performance settings. * * This should be called once at the application level (e.g., in App.vue or main.ts) * to optimize MapLibre performance across all map instances. * * @example * ```vue * * ``` * * @param options - Configuration options for MapLibre performance * @returns Actions for managing MapLibre configuration */ export declare function useMaplibreConfig(options?: MaplibreConfigOptions): MaplibreConfigActions;