import * as Solid from 'solid-js';
import type { ErrorRouteComponent } from './route';
export declare function CatchBoundary(props: {
    getResetKey: () => number | string;
    children: Solid.JSX.Element;
    errorComponent?: ErrorRouteComponent;
    onCatch?: (error: Error) => void;
} & Solid.ParentProps): Solid.JSX.Element;
export declare function ErrorComponent({ error }: {
    error: any;
}): Solid.JSX.Element;
