import type { GitSource } from '@remotion/studio-shared'; import type { ComboboxValue } from '../components/NewComposition/ComboBox'; import type { OriginalPosition } from '../error-overlay/react-overlay/utils/get-source-map'; export declare const getGitSourceName: (gitSource: GitSource) => string; export declare const getGitSourceBranchUrl: (gitSource: GitSource) => string; export declare const getGitRefUrl: (gitSource: GitSource, originalLocation: OriginalPosition, remotionRoot: string) => string; export declare const hasReadOnlyGitSource: () => boolean; export type DefaultOpenInTarget = 'editor' | 'git-source'; export declare const getDefaultOpenInTarget: ({ canOpenInEditor, }: { readonly canOpenInEditor: boolean; }) => DefaultOpenInTarget | null; export declare const openGitSource: ({ folder, location, }: { folder: boolean; location: OriginalPosition | null; }) => void; export declare const getGitMenuItem: () => ComboboxValue | null;