import { ComponentProps, FC, ReactNode } from "react";
import { StaticImport } from "next/dist/shared/lib/get-img-props";
export interface ImageProps extends Omit<ComponentProps<'img'>, 'src'> {
  sizes?: string;
  /**
   * Next.js Image component has other allowed type for `src`
   */
  src?: string | StaticImport;
  /**
   * priority of image (from Next.js)
   */
  priority?: boolean;
}
interface LinkProps extends ComponentProps<'a'> {
  prefetch?: boolean;
}
export interface Router {
  push: (url: string) => void | Promise<void>;
  refresh: () => void | Promise<void>;
}
export interface Framework {
  usePathname: () => string;
  useParams: () => Record<string, string | string[]>;
  useRouter: () => Router;
  Link?: FC<ComponentProps<'a'> & {
    prefetch?: boolean;
  }>;
  Image?: FC<ImageProps>;
}
export declare function FrameworkProvider({ Link, useRouter, useParams, usePathname, Image, children }: Framework & {
  children: ReactNode;
}): import("react").JSX.Element;
export declare function usePathname(): string;
export declare function useRouter(): Router;
export declare function useParams(): Record<string, string | string[]>;
export declare function Image(props: ImageProps): import("react").JSX.Element;
export declare function Link(props: LinkProps): import("react").JSX.Element;
export {};