@daks.dev/svelte.sdk
Version:
DAKS.DEV Svelte SDK
43 lines (42 loc) • 1.77 kB
TypeScript
export declare const twmerge: {
subscribe: (this: void, run: import("svelte/store").Subscriber<Record<string, Record<string, string[]>[]>>, invalidate?: () => void) => import("svelte/store").Unsubscriber;
set: (this: void, value: Record<string, Record<string, string[]>[]>) => void;
};
interface Navigate {
prev?: {
href: string;
title?: string;
};
next?: {
href: string;
title?: string;
};
}
export declare const navigate: {
subscribe: (this: void, run: import("svelte/store").Subscriber<Navigate>, invalidate?: () => void) => import("svelte/store").Unsubscriber;
set: (this: void, value: Navigate) => void;
clear: () => void;
};
export declare const sessionTime: import("svelte/store").Readable<number>;
export declare const routeTransitionMode: {
subscribe: (this: void, run: import("svelte/store").Subscriber<number>, invalidate?: () => void) => import("svelte/store").Unsubscriber;
set: (this: void, value: number) => void;
change: () => void;
};
export declare const admindata: {
subscribe: (this: void, run: import("svelte/store").Subscriber<Record<string, unknown[]>>, invalidate?: () => void) => import("svelte/store").Unsubscriber;
set: (this: void, value: Record<string, unknown[]>) => void;
clear: () => void;
};
interface ToastData {
message: string;
close?: () => void;
}
export declare const toastData: {
subscribe: (this: void, run: import("svelte/store").Subscriber<ToastData>, invalidate?: () => void) => import("svelte/store").Unsubscriber;
set: (val: string) => void;
once: (message: string, local: string) => true | void;
clear: () => void;
};
export declare const svelteKitCount: import("svelte/store").Writable<number>;
export {};