import { type ReactNode } from "react"; import { type CaptureTarget } from "./capture-target.js"; /** * A blur plane made by `useGlassBlurPlane`: pass it to the `GlassBlurPlane` that wraps the * view to capture and to the `GlassBlurScope` around the surfaces that frost it. */ export interface GlassBlurPlaneHandle { /** @internal The capture target the Android host attaches and the scope offers. */ readonly target: CaptureTarget; } /** A blur plane, stable for the component's life. */ export declare function useGlassBlurPlane(): GlassBlurPlaneHandle; export interface GlassBlurPlaneProps { /** The plane `useGlassBlurPlane` made. */ plane: GlassBlurPlaneHandle; /** The view to capture, laid out to fill the plane (a page backdrop). */ children?: ReactNode; } /** * Makes its children the blur plane: on Android, in a build that links Canvas's native capture * module, a capture host filling its parent, which the glass surfaces in a matching `GlassBlurScope` * frost. Off Android it renders its children only. */ export declare function GlassBlurPlane({ children }: GlassBlurPlaneProps): import("react").JSX.Element; export interface GlassBlurScopeProps { /** The plane `useGlassBlurPlane` made. */ plane: GlassBlurPlaneHandle; /** The glass surfaces that frost the plane. None of them may sit inside it. */ children?: ReactNode; } /** * Offers the blur plane to the glass surfaces inside it: on Android they frost the plane in * place of the solid skin they paint without one. Off Android it renders its children only. */ export declare function GlassBlurScope({ children }: GlassBlurScopeProps): import("react").JSX.Element; //# sourceMappingURL=glass-blur-plane.d.ts.map