/** * Logs an error message along with optional metadata. Certain expected errors are ignored to reduce noise in the logs. * @param opts Configuration object containing the error details and metadata. * @param opts.text The main error message to log. * @param opts.err An optional error object. If provided, it will be checked for specific known error types to determine if it should be ignored. * @internal */ export declare function logError({ text, err, ...logMetadata }: { text: string; err?: unknown; } & Record): void;