import express from 'express'; import type { ConnectorState, ChargePointErrorCode, StopTransactionReason } from '../../ocppClient.js'; type ParserInteger = (value: unknown, fieldName: string, res: express.Response, options?: { min?: number; }) => number | undefined | null; type ParserString = (value: unknown, fieldName: string, res: express.Response) => string | null; export declare function registerOcppCpRoutes; sendHeartbeat(): Promise; authorize(idTag: string): Promise; startTransaction(connectorId: number, idTag: string): Promise; stopTransaction(connectorId: number, reason: StopTransactionReason): Promise; sendMeterValues(connectorId: number, transactionId?: number): Promise; sendStatusNotification(connectorId: number, status: ConnectorState, errorCode?: ChargePointErrorCode): Promise; dataTransfer(vendorId: string, messageId?: string, data?: string): Promise; firmwareStatusNotification(status: string): Promise; diagnosticsStatusNotification(status: string): Promise; }; }>(params: { app: express.Express; requireClientEntry: (req: express.Request, res: express.Response) => TEntry | null; parseOptionalInteger: ParserInteger; parseRequiredString: ParserString; sendUnexpectedError: (res: express.Response, route: string, error: unknown) => void; }): void; export {};