/** * Forks remote state for local modification * * ```js * import { Signal } from 'signal-polyfill'; * import { localCopy } from 'signal-utils'; * * const remote = new Signal.State(0); * * const local = localCopy(() => remote.get()); * ``` */ export declare function localCopy(fn: () => Value): { get(): Value; set(v: Value): void; }; /** * Forks remote state for local modification * * ```js * import { localCopy } from 'signal-utils'; * * class Demo { * @localCopy('remote.value') accessor localValue; * } * ``` */ export declare function localCopy(memo: string, initializer?: Value | (() => Value)): (_target: ClassAccessorDecoratorTarget, _context: ClassAccessorDecoratorContext) => ClassAccessorDecoratorResult; //# sourceMappingURL=local-copy.d.ts.map