import type { DevtoolsPluginApi } from './api/index.js'; import type { PluginDescriptor, ExtractSettingsTypes, PluginSettingsItem } from './plugin.js'; export * from './api/index.js'; export * from './plugin.js'; export * from './time.js'; export { PluginQueueItem } from './env.js'; declare type Cast = A extends B ? A : B; declare type Narrowable = string | number | bigint | boolean; declare type Narrow = Cast; })>; declare type Exact = { [K in keyof C]: K extends keyof T ? T[K] : never; }; export declare type SetupFunction = (api: DevtoolsPluginApi) => void; export declare function setupDevtoolsPlugin, TSettings = ExtractSettingsTypes ? S : Record : Record>>(pluginDescriptor: Narrow, setupFn: SetupFunction): void;