import React from 'react';
import type { ReactNode } from 'react';
export interface SyncBlockActionsContextValue {
    deleteSyncBlock?: () => void;
    fetchSourceInfo: (sourceAri: string, hasAccess: boolean) => Promise<{
        title?: string;
        url?: string;
    } | undefined>;
}
export declare const useSyncBlockActions: () => SyncBlockActionsContextValue | null;
interface SyncBlockActionsProviderProps {
    children: ReactNode;
    fetchSyncBlockSourceInfo: (sourceAri: string) => Promise<{
        title?: string;
        url?: string;
    } | undefined>;
    removeSyncBlock?: () => void;
}
export declare const SyncBlockActionsProvider: ({ children, removeSyncBlock, fetchSyncBlockSourceInfo, }: SyncBlockActionsProviderProps) => React.JSX.Element;
export {};
