import { SocketSdk } from '@socketsecurity/sdk'; import type { CResult } from '../types.mts'; // The Socket API server that should be used for operations. export declare function getDefaultApiBaseUrl(): string | undefined; // The Socket API server that should be used for operations. export declare function getDefaultProxyUrl(): string | undefined; // Returns combined root and extra CA certificates when SSL_CERT_FILE is set // but NODE_EXTRA_CA_CERTS is not. Node.js loads NODE_EXTRA_CA_CERTS at process // startup, so setting SSL_CERT_FILE alone does not affect the current process. // This function reads the certificate file manually and combines it with the // default root certificates for use in HTTPS agents. export declare function getExtraCaCerts(): string[] | undefined; export declare function getDefaultApiToken(): string | undefined; export declare function getPublicApiToken(): string; export declare function getVisibleTokenPrefix(): string; export declare function hasDefaultApiToken(): boolean; export type SetupSdkOptions = { apiBaseUrl?: string | undefined; apiProxy?: string | undefined; apiToken?: string | undefined; }; export declare function setupSdk(options?: SetupSdkOptions | undefined): Promise>; //# sourceMappingURL=sdk.d.mts.map