import { ConstructorFor } from "../types.js"; export declare type Share = any; export declare const share: >(Constructor: C, getter: () => S) => { new (...args: any[]): { readonly share: S; }; } & C; export declare type WithShare = T & ConstructorFor<{ readonly share: S; }>;