import { ReactNode } from 'react';
import { FileHandleResults, WikiPage } from '@sage-bionetworks/synapse-types';
export type SynapseWikiContextType = {
    ownerId?: string;
    wikiId?: string;
    wikiPage?: Partial<WikiPage>;
    /** Downloaded file handles that are attached to the wiki */
    fileHandles?: FileHandleResults;
};
/**
 * This must be exported to use the context in class components.
 */
export declare const SynapseWikiContext: import("react").Context<SynapseWikiContextType | undefined>;
export type SynapseWikiContextProviderProps = {
    wikiContext?: SynapseWikiContextType;
    children?: ReactNode;
};
/**
 * Provides context related to Synapse Wikis
 * @param param0
 * @returns
 */
export declare function SynapseWikiContextProvider({ children, wikiContext, }: SynapseWikiContextProviderProps): import("react/jsx-runtime").JSX.Element;
export declare const SynapseWikiContextConsumer: import("react").Consumer<SynapseWikiContextType | undefined>;
export declare function useWikiContext(): SynapseWikiContextType;
//# sourceMappingURL=SynapseWikiContext.d.ts.map