import { ManageAppVariables } from "../../../types/app.js";
import { Hono } from "hono";
import * as hono_types13 from "hono/types";

//#region src/domains/manage/routes/signoz.d.ts
declare class FetchResponseError extends Error {
  status: number;
  data: unknown;
  constructor(status: number, data: unknown);
}
declare function getMissingKeys(error: unknown): string[] | null;
declare function queryReferencesKeys(query: any, keys: string[]): boolean;
declare function stripSelectFields(payload: any, keys: string[]): any | null;
type SignozConfig = {
  endpoint: string;
  headers: Record<string, string>;
};
declare function effectiveRetryCap(payload: any): number;
declare function queryWithRetry(signoz: SignozConfig, payload: any): Promise<{
  data: any;
  retried: boolean;
}>;
declare const app: Hono<{
  Variables: ManageAppVariables;
}, hono_types13.BlankSchema, "/">;
//#endregion
export { FetchResponseError, app as default, effectiveRetryCap, getMissingKeys, queryReferencesKeys, queryWithRetry, stripSelectFields };