export declare function useSmartLink(id: string, url: string): {
    state: import("@atlaskit/linking-common").CardState;
    actions: {
        register: () => Promise<void>;
        reload: () => void;
        authorize: (appearance: import("../../view/Card/types").CardInnerAppearance) => void;
        invoke: (opts: import("../../model/invoke-opts").InvokeClientOpts | import("../../model/invoke-opts").InvokeServerOpts, appearance: import("../../view/Card/types").CardInnerAppearance) => Promise<import("@atlaskit/json-ld-types").JsonLd.Response | void>;
        loadMetadata: () => Promise<void> | undefined;
    };
    config: import("@atlaskit/link-provider").CardAuthFlowOpts | undefined;
    renderers: import("@atlaskit/link-provider").CardProviderRenderers | undefined;
    error: Error | null;
    isPreviewPanelAvailable: ((props: {
        ari: string;
    }) => boolean) | undefined;
    openPreviewPanel: ((props: {
        ari: string;
        iconUrl: string | undefined;
        name: string;
        panelData: {
            embedUrl?: string;
        };
        url: string;
    }) => void) | undefined;
};
