|
|
|
@ -2623,6 +2623,27 @@ declare namespace $state {
|
|
|
|
|
* @param state The value to snapshot
|
|
|
|
|
*/
|
|
|
|
|
export function snapshot<T>(state: T): T;
|
|
|
|
|
|
|
|
|
|
// prevent intellisense from being unhelpful
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const apply: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
// @ts-ignore
|
|
|
|
|
export const arguments: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const bind: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const call: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const caller: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const length: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const name: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const prototype: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const toString: never;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -2659,6 +2680,27 @@ declare namespace $derived {
|
|
|
|
|
* https://svelte-5-preview.vercel.app/docs/runes#$derived-by
|
|
|
|
|
*/
|
|
|
|
|
export function by<T>(fn: () => T): T;
|
|
|
|
|
|
|
|
|
|
// prevent intellisense from being unhelpful
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const apply: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
// @ts-ignore
|
|
|
|
|
export const arguments: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const bind: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const call: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const caller: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const length: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const name: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const prototype: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const toString: never;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -2747,6 +2789,27 @@ declare namespace $effect {
|
|
|
|
|
* https://svelte-5-preview.vercel.app/docs/runes#$effect-root
|
|
|
|
|
*/
|
|
|
|
|
export function root(fn: () => void | (() => void)): () => void;
|
|
|
|
|
|
|
|
|
|
// prevent intellisense from being unhelpful
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const apply: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
// @ts-ignore
|
|
|
|
|
export const arguments: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const bind: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const call: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const caller: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const length: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const name: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const prototype: never;
|
|
|
|
|
/** @deprecated */
|
|
|
|
|
export const toString: never;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|