import type { IncomingMessage, ServerResponse } from "node:http"; import type { CoreServiceConfig } from "../core/api.js"; import type { AuthorizationInput, CacheOptions } from "../core/authorize/index.js"; import type { AuthorizationResult } from "../core/authorize/types.js"; import type { CoreAuthInput } from "../core/types.js"; export * from "../core/rateLimit/index.js"; export * from "../core/services.js"; export * from "../core/usage.js"; export * from "../core/usageV2.js"; export * from "./kafka.js"; export * from "./usageV2.js"; export * from "./webhookProducer.js"; type NodeServiceConfig = CoreServiceConfig; export type AuthInput = CoreAuthInput & { req: IncomingMessage | Request; }; export declare function authorizeNode(authInput: AuthInput, serviceConfig: NodeServiceConfig, cacheOptions?: CacheOptions): Promise; export declare function extractAuthorizationData(authInput: AuthInput): AuthorizationInput; export declare function hashSecretKey(secretKey: string): string; export declare function logHttpRequest({ clientId, req, res, isAuthed, statusMessage, latencyMs, }: AuthInput & { source: string; res: ServerResponse; isAuthed?: boolean; statusMessage?: Error | string; latencyMs?: number; }): void; //# sourceMappingURL=index.d.ts.map