import { SsgoiPathTransition } from '../../types/index.ts'; /** * Public `variant` value for `axis({ type: "x" })`. * * - `"default"` — relaxed, fluid feel (Flutter SharedAxisTransition style). * - `"snappy"` — tight, decisive page swap (KakaoTalk style). */ export type AxisXVariant = "default" | "snappy"; /** * Public `variant` value for `axis({ type: "y" })`. * * - `"default"` — directional fade-through. Forward = bottom→top. * - `"non-directional"` — direction-agnostic. Incoming always rises from * below; outgoing fades in place. */ export type AxisYVariant = "default" | "non-directional"; /** * Legacy `feel` axis. Kept for source compatibility only. * * @deprecated Do not use in new code. v6 only supports `{ type, variant, options }`. * Migrate `feel: "fluid"` → omit `variant` (default tone), * `feel: "snappy"` → `variant: "snappy"`. * Example: `axis({ paths, type: "x", variant: "snappy" })`. * Kept here only for backward compatibility — will be removed in a future major. */ export type AxisFeelDeprecated = "snappy" | "fluid"; export type AxisConfig = { paths: readonly string[]; } & ({ type?: "x"; variant?: AxisXVariant; options?: Record; /** * @deprecated Do not use in new code. v6 only supports `{ type, variant, options }`. * Migrate `feel: "fluid"` → omit `variant` (default tone), * `feel: "snappy"` → `variant: "snappy"`. * Example: `axis({ paths, type: "x", variant: "snappy" })`. * Kept here only for backward compatibility — will be removed in a future major. */ feel?: AxisFeelDeprecated; } | { type: "y"; variant?: AxisYVariant; options?: Record; } | { type: "z"; variant?: "default"; options?: Record; }); export declare function axis(config: AxisConfig): SsgoiPathTransition[]; //# sourceMappingURL=index.d.ts.map