export type SetupModule = Record | undefined; /** * Reads a setup hook (`setupVanilla`, `setupVue3`, ...) out of a setup module. * * `retired` names hooks a plugin has stopped accepting. Nothing passes a * non-empty list today; it exists so that removing a name at 1.0 is a string * moving between two arrays rather than a failure mode designed under release * pressure. * * Takes the module as an argument instead of letting callers access it inline: * the setup modules are namespace imports of virtual or user-provided files that * aren't guaranteed to declare every hook, and a static `namespace.setupVue3` * access makes Rollup warn `"setupVue3" is not exported by ...` in every * consumer build. Passing the namespace through a call forces it to be * materialized, so the lookup happens at runtime where it belongs. */ export declare function getSetupHook(mod: SetupModule, name: string | string[], retired?: string[]): T | undefined;