import type { PrivateUserData } from "$lib/valibot"; import type { OAuthClient } from "@atcute/oauth-node-client"; declare global { namespace App { // interface Error {} interface Locals { oAuthClient?: OAuthClient; user?: PrivateUserData; locale?: string; } // interface PageData {} // interface PageState {} interface Platform { env: { ASSETS: { fetch: typeof fetch; }; ORIGIN: string; PRIVATE_COOKIE_KEY: string; PRIVATE_KEY_JWK?: string; }; } } } export {};