import { InternalUrl, StartAuthJSConfig } from './types.js'; /** * Parse a URL string into components */ export declare function parseUrl(url?: string | URL): InternalUrl; /** * Get current timestamp in seconds */ export declare function now(): number; /** * Get environment variable, checking both process.env and import.meta.env */ export declare const getEnv: (env: string) => string | undefined; /** * Get the first defined environment variable from a list */ export declare const conditionalEnv: (...envs: Array) => string | undefined; /** * Set default environment values on the config */ export declare function setEnvDefaults(envObject: Record, config: StartAuthJSConfig): void; /** * Get the base path for auth routes */ export declare const getBasePath: (config?: StartAuthJSConfig) => string;