import { PluginContext, ResolvedConfig, UserConfig } from "powerlines"; import { TamaguiOptions } from "@tamagui/types"; //#region src/types/plugin.d.ts type TamaguiPluginOptions = Partial & { /** * The target platform for the Tamagui build. * * @defaultValue "web" */ platform?: "web" | "native"; /** * An array of component paths to include in the Tamagui build. * * @remarks * These paths can include glob patterns to match multiple files or directories and placeholder tokens (the `replacePathTokens` function will be applied to allow for dynamic path resolution). * * @defaultValue ["\{root\}/src/components"] */ components?: string[]; }; interface TamaguiPluginUserConfig extends UserConfig { tamagui: TamaguiPluginOptions; } interface TamaguiPluginResolvedConfig extends ResolvedConfig { tamagui: TamaguiOptions & Required>; } type TamaguiPluginContext = PluginContext; //#endregion export { TamaguiPluginContext, TamaguiPluginOptions, TamaguiPluginResolvedConfig, TamaguiPluginUserConfig }; //# sourceMappingURL=plugin.d.cts.map