import type { McpToolContext, McpToolWorkerResponse } from '../../../types.js';
import { loadGraphqlSchema } from './load-graphql-schema.js';
type LoadedGraphqlSchema = Awaited<ReturnType<typeof loadGraphqlSchema>>;
export declare function textResult(text: string, isError?: boolean): McpToolWorkerResponse;
export declare function respondWithGraphqlSchema(name: string, context: McpToolContext, render: (loaded: LoadedGraphqlSchema) => string): Promise<McpToolWorkerResponse>;
export declare function paginate<T>(items: T[], page: number, limit: number): {
    items: T[];
    limit: number;
    total: number;
    page: number;
    totalPages: number;
};
export {};
//# sourceMappingURL=tool-helpers.d.ts.map