/**
 * @packageDocumentation
 *
 * Passes obsidian {@link App} instance to React components.
 */
import { App } from 'obsidian';
/**
 * The context for the app.
 *
 * Usage:
 * ```tsx
 * <AppContext.Provider value={app}>
 *   <YourComponent />
 * </AppContext.Provider>
 * ```
 */
export declare const AppContext: import("react").Context<App | undefined>;
/**
 * The hook to use the app context.
 *
 * @returns The app instance.
 */
export declare function useApp(): App;
