import { z } from 'zod'; import { ExecuteRepositoryRuleResponsePayload, executeRepositoryRuleRouteDefinition } from '../routes/index.js'; export declare function createHttpApiClient(personalAccessToken?: string | undefined): { getMe(): Promise>; getRepositoriesByOwner(owner: string): Promise>; getRepositoryByOwnerAndName(owner: string, name: string): Promise>; getRepositoryTokenTreeByOwnerAndName(owner: string, name: string): Promise; /** * @deprecated use `createRPCClient` instead * @param owner * @param name * @param rule */ executeRepositoryRuleByOwnerAndName(owner: string, name: string, rule: z.infer): Promise>; }; //# sourceMappingURL=createHttpApiClient.d.ts.map