/**
 * Result of a source credential validation.
 */
export interface ValidationResult {
    valid: boolean;
    appName?: string;
    error?: string;
}
/**
 * Validate GitHub App credentials by calling the GitHub API.
 *
 * Creates a JWT from the appId + privateKey and calls GET /app
 * to verify the credentials are valid and retrieve the app name.
 */
export declare function validateGitHubSource(appId: string, privateKey: string): Promise<ValidationResult>;
//# sourceMappingURL=source-validator.d.ts.map