@qundus/qstate
Version:
your everyday state pal
22 lines (17 loc) • 719 B
TypeScript
export { default as qStateAstroIntegration } from '@inox-tools/request-nanostores';
import { ActionAPIContext } from 'astro:actions';
import { APIContext } from 'astro';
declare function qStateAstroActions<A extends typeof defineAction>(defineAction: A): any;
declare const _default$1: {
setLocal: (ctx: APIContext | ActionAPIContext, key: string, data: any) => {
key: string;
data: any;
};
getLocal: (ctx: APIContext | ActionAPIContext, key: string, initialData: any) => {
key: string;
data: any;
};
refreshServerContent(): void;
};
declare const _default: any;
export { qStateAstroActions, _default$1 as qStateAstroMethods, _default as qStateAstroMiddleware };