/** * mates — SSR mode flag + async completion tracking * * Per-render state lives in AsyncLocalStorage when mates-ssr is loaded * (via registerSsrRenderAccessor). Legacy module-level fallbacks remain for * tests and direct renderToString() without a render context. */ /** * Enable or disable SSR mode (legacy / standalone renders). * When mates-ssr wraps a render in AsyncLocalStorage, this is a no-op. */ export declare function setSSRMode(value: boolean): void; /** Returns true during an SSR render pass. */ export declare function isSSR(): boolean; /** @internal */ export declare function setSsrDoneCallback(cb: () => void): void; /** @internal */ export declare function incrementSsrAsyncCounter(): void; /** @internal */ export declare function decrementSsrAsyncCounter(): void; /** Signal early completion for custom async outside asyncAction/Fetch. */ export declare function done(): void; export declare function getSsrAsyncCounter(): number; export declare function isDev(): boolean; //# sourceMappingURL=ssrFlag.d.ts.map