export interface ValidationResult {
    valid: boolean;
    error?: string;
}
export interface ResourceValidator {
    validate(url: string): ValidationResult;
    ping(url: string): Promise<boolean>;
    formatUrl(rawInput: string): string;
}
export declare abstract class BaseResourceValidator implements ResourceValidator {
    protected abstract readonly urlPattern: RegExp;
    protected abstract readonly baseUrl: string;
    validate(url: string): ValidationResult;
    ping(url: string): Promise<boolean>;
    formatUrl(rawInput: string): string;
}
export declare class GitHubResourceValidator extends BaseResourceValidator {
    protected readonly urlPattern: RegExp;
    protected readonly baseUrl = "https://github.com";
}
export declare class JiraResourceValidator extends BaseResourceValidator {
    protected readonly urlPattern: RegExp;
    protected readonly baseUrl = "";
}
export declare class AzureDevOpsResourceValidator extends BaseResourceValidator {
    protected readonly urlPattern: RegExp;
    protected readonly baseUrl = "https://dev.azure.com";
}
//# sourceMappingURL=resource-base.d.ts.map