import { components } from '../lib/api/v1.js'; export type PolicyRepoCreate = components['schemas']['PolicyRepoCreate']; export type PolicyRepoRead = components['schemas']['PolicyRepoRead']; export type GitConfig = { url: string; mainBranchName: string; credentials: { authType: 'ssh'; username: string; privateKey: string; }; key: string; activateWhenValidated: boolean; }; export declare const usePolicyGitReposApi: () => { getRepoList: (projectKey: string) => Promise, "application/json">, "error"> & { error: string | null; }>; configurePermit: (projectKey: string, gitconfig: GitConfig) => Promise, "application/json">, "error"> & { error: string | null; }>; };