/**
 * Write a value to the underlying `$state` store and return whatever the
 * `$state` call returns (it may or may not be the same value).
 *
 * @param props - value to set
 * @returns the result of invoking `$state(props)`
 */
export declare function svelteState<T>(props: T): T;
/**
 * Read the current value from the `$state` store.
 *
 * @returns the stored value, or `undefined` if none has been set yet
 */
export declare function svelteState<T>(): T | undefined;
//# sourceMappingURL=svelte.svelte.d.ts.map