import { type ReactNode } from "react";
import { type LinkProps } from "./Link.js";
import { type SkipToMainContentClassNameOptions } from "./styles.js";
/**
 * @since 6.0.0 The `mainId` is optional
 */
export interface SkipToMainContentProps extends Omit<LinkProps, "href">, SkipToMainContentClassNameOptions {
    /**
     * @since 6.0.0 Changed default value from `"skip-to-main-content"`
     * @defaultValue `"skip-to-main"`
     */
    id?: string;
    /**
     * An optional id for the main element. When this is not provided, the main
     * element will be found by:
     *
     * ```ts
     * document.querySelector('main,[role="main"]');
     * ```
     */
    mainId?: string;
    /**
     * @defaultValue `"Skip to main content"`
     */
    children?: ReactNode;
}
/**
 * **Client Component**
 *
 * This component is used to allow keyboard users a quick way to skip directly
 * to the main content instead of needing to tab through all navigation items.
 *
 * This component should not be used if using the LayoutAppBar component since
 * it is already built-in.
 *
 * @example Simple Example
 * ```tsx
 * import { AppBar } from "@react-md/core/app-bar/AppBar";
 * import { SkipToMainContent } from "@react-md/core/link/SkipToMainContent";
 * import { type ReactElement } from "react";
 *
 * export default function SimpleSkipToMainContentExample(): ReactElement {
 *   return (
 *     <AppBar style={{ position: "relative" }}>
 *       <SkipToMainContent />
 *     </AppBar>
 *   );
 * }
 * ```
 *
 * @see {@link https://react-md.dev/components/skip-to-main-content | SkipToMainContent Demos}
 * @since 6.0.0 Changed the default `id` from `"skip-to-main-content"` to
 * `"skip-to-main"`.
 * @since 6.0.0 The `mainId` prop is optional
 * @since 6.0.0 Throws an error after rendering if no main element can be found
 * with the provided `mainId` in development mode. The previous behavior would
 * only log an error after being clicked.
 */
export declare const SkipToMainContent: import("react").ForwardRefExoticComponent<SkipToMainContentProps & import("react").RefAttributes<HTMLAnchorElement>>;
