type RefreshGitHub = (workspaceId: string, signal?: AbortSignal, options?: { sync?: boolean; }) => Promise; export declare function useGitHubHistoryRefresh(workspaceId: string, enabled: boolean, refreshGitHub: RefreshGitHub): void; export {};