import type { RegistryScriptInput } from '#nuxt-scripts';
export declare const NpmOptions: import("valibot").ObjectSchema<{
    packageName: import("valibot").StringSchema<string>;
    file: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
    version: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
    type: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, undefined, string | undefined>;
}, undefined, {
    packageName: string;
    file?: string | undefined;
    version?: string | undefined;
    type?: string | undefined;
}>;
export type NpmInput = RegistryScriptInput<typeof NpmOptions>;
export declare function useScriptNpm<T extends Record<string | symbol, any>>(_options: NpmInput): T & {
    $script: Promise<T> & import("@unhead/vue").VueScriptInstance<T>;
};
