import type { Snippet } from "svelte";
import type { RouteLocation } from "../Route/Route";
import { globalHistory } from "../../lib/history";
export type Viewtransition = {
    fn?: any;
    delay?: number;
    duration?: number;
    x?: number;
    y?: number;
    opacity?: number;
    easing?: any;
    css?: (t: number) => string;
};
export type RouterProps = {
    basepath?: string;
    url?: string;
    viewtransition?: (direction?: string) => Viewtransition;
    history?: typeof globalHistory;
    children: Snippet<[string | null, RouteLocation]>;
};
//# sourceMappingURL=Router.d.ts.map