import { HTMLAttributes } from 'react';
export declare type ClickToSourceState = {
    provider: GitProvider;
};
export declare type GitProvider = '' | 'vscode' | 'github' | 'gitlab';
export interface LinksConfig {
    github?: {
        url: string;
        branch: string;
        path: string;
    };
    gitlab?: {
        url: string;
        branch: string;
        path: string;
    };
}
export declare function ClickToSourceProviderStateless({ value, onChange, linksConfig, root, className, children, ...rest }: HTMLAttributes<HTMLDivElement> & {
    value: ClickToSourceState;
    linksConfig: LinksConfig;
    root: string;
    onChange: (x: ClickToSourceState) => any;
}): JSX.Element;
export declare function getGitCodeLink({ provider, filePath, root, lineNumber, linksConfig, }: {
    provider: GitProvider;
    filePath: string;
    root: string;
    lineNumber?: number;
    linksConfig: LinksConfig;
}): string;
