import { AxiosInstance, InternalAxiosRequestConfig } from 'axios'; import Accounts, { Account } from './accounts.js'; import Users from './users.js'; import Projects from './projects.js'; import Assets from './assets.js'; import AssetManifests from './asset-manifests.js'; import Runtimes from './runtimes.js'; import PrivateLocations from './private-locations.js'; import Locations from './locations.js'; import TestSessions from './test-sessions.js'; import CheckSessions from './check-sessions.js'; import EnvironmentVariables from './environment-variables.js'; import HeartbeatChecks from './heartbeat-checks.js'; import ChecklyStorage from './checkly-storage.js'; import Checks from './checks.js'; import CheckStatuses from './check-statuses.js'; import CheckResults from './check-results.js'; import CheckGroups from './check-groups.js'; import ErrorGroups from './error-groups.js'; import TestSessionErrorGroups from './test-session-error-groups.js'; import StatusPages from './status-pages.js'; import Incidents from './incidents.js'; import Analytics from './analytics.js'; import BatchAnalytics from './batch-analytics.js'; import Entitlements from './entitlements.js'; import AccountMembers from './account-members.js'; import AlertChannels from './alert-channels.js'; import AlertNotifications from './alert-notifications.js'; import Rca from './rca.js'; import Cancel from './cancel.js'; import Usage from './usage.js'; import SpendingCaps from './spending-cap.js'; export declare function getDefaults(): { baseURL: string; accountId: string; Authorization: string; apiKey: string; }; /** * Checks the configured credentials against the configured account, or * against `accountId` when given (activating an account that is not the * configured one yet). Pass `suggestLogin: false` when trying out a * different account (switching), where logging in again would not help. */ export declare function validateAuthentication({ suggestLogin, accountId }?: { suggestLogin?: boolean; accountId?: string; }): Promise; export declare function requestInterceptor(config: InternalAxiosRequestConfig): InternalAxiosRequestConfig; export declare function responseErrorInterceptor(error: any): void; /** * The CLI's axios instance, created on first use rather than when this * module loads. Creating it reads the configured credentials and API host * (from the environment or the `checkly login` store, which may create a * config file), and every construct imports this module indirectly, so an * eager client would do that for any program that merely imports a * construct or the codegen. */ export declare function getApi(): AxiosInstance; export declare const accounts: Accounts; export declare const user: Users; export declare const projects: Projects; export declare const assets: Assets; export declare const assetManifests: AssetManifests; export declare const runtimes: Runtimes; export declare const locations: Locations; export declare const privateLocations: PrivateLocations; export declare const testSessions: TestSessions; export declare const checkSessions: CheckSessions; export declare const environmentVariables: EnvironmentVariables; export declare const heartbeatCheck: HeartbeatChecks; export declare const checklyStorage: ChecklyStorage; export declare const checks: Checks; export declare const checkStatuses: CheckStatuses; export declare const checkResults: CheckResults; export declare const checkGroups: CheckGroups; export declare const errorGroups: ErrorGroups; export declare const testSessionErrorGroups: TestSessionErrorGroups; export declare const statusPages: StatusPages; export declare const incidents: Incidents; export declare const analytics: Analytics; export declare const batchAnalytics: BatchAnalytics; export declare const entitlements: Entitlements; export declare const accountMembers: AccountMembers; export declare const alertChannels: AlertChannels; export declare const alertNotifications: AlertNotifications; export declare const rca: Rca; export declare const cancel: Cancel; export declare const usage: Usage; export declare const spendingCap: SpendingCaps;