Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
10 lines
587 B
Plaintext
10 lines
587 B
Plaintext
import { Context } from "../../context.js";
|
|
//#region src/helper/adapter/index.d.ts
|
|
export type Runtime = 'node' | 'deno' | 'bun' | 'workerd' | 'fastly' | 'edge-light' | 'other';
|
|
export declare const env: <T extends Record<string, unknown>, C extends Context = Context<{
|
|
Bindings: T;
|
|
}>>(c: T extends Record<string, unknown> ? Context : C, runtime?: Runtime) => T & C["env"];
|
|
export declare const knownUserAgents: Partial<Record<Runtime, string>>;
|
|
export declare const getRuntimeKey: () => Runtime;
|
|
export declare const checkUserAgentEquals: (platform: string) => boolean;
|
|
//#endregion |