import type { LogMetadataFull } from './log.types.cjs'; type SendPayload = LogMetadataFull | LogMetadataFull[]; /** * Creates a function that can be used to send logs to Datadog. * https://docs.datadoghq.com/api/latest/logs/#send-logs */ export declare function createSendToDatadog({ ddsource, env, key, keyType, service, version, enabled, }: { keyType: 'privateApiKey' | 'publicClientKey'; /** * The API key or Client Key to use to send logs to Datadog. * If none, the function will return a no-op function. */ key: string; service: string; version?: string; ddsource: string; env: string; /** * If `false`, the function will return a no-op function. */ enabled: boolean; }): ((_log: SendPayload) => Promise) | ((log: SendPayload) => Promise | undefined>); export {}; //# sourceMappingURL=datadog.d.cts.map