export type RuntimeEnvironment = 'browser' | 'node' | 'universal';
export type DetectEnvironment<T = typeof globalThis> = T extends {
    document: any;
    window: any;
} ? 'browser' : T extends {
    process: any;
    require: any;
} ? 'node' : 'universal';
export declare function isBrowserEnvironment(): boolean;
export declare function isNodeEnvironment(): boolean;
export declare function getRuntimeEnvironment(): 'browser' | 'node' | 'unknown';
export declare function assertBrowserEnvironment(): asserts this is {
    window: Window;
    document: Document;
};
export declare function assertNodeEnvironment(): asserts this is {
    process: NodeJS.Process;
};
//# sourceMappingURL=environment.d.ts.map