File size: 1,983 Bytes
bc20498 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
import { SvelteComponent } from "svelte";
import type { Transition } from "../../../internal/index.js";
import type { ContentProps } from "../types.js";
declare class __sveltets_Render<T extends Transition, In extends Transition, Out extends Transition> {
props(): ContentProps<T, In, Out>;
events(): {
pointerdown: PointerEvent;
pointermove: PointerEvent;
pointerup: PointerEvent;
touchend: TouchEvent;
touchstart: TouchEvent;
touchcancel: TouchEvent;
touchmove: TouchEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots(): {
default: {
builder: {
id: string;
role: "dialog" | "alertdialog";
'aria-describedby': string;
'aria-labelledby': string;
'aria-modal': "true" | undefined;
'data-state': string;
tabindex: number;
hidden: boolean | undefined;
style: string;
} & {
[x: `data-melt-${string}`]: "";
} & {
action: (node: HTMLElement) => {
destroy: () => void;
};
};
};
};
}
export type AlertDialogContentProps<T extends Transition, In extends Transition, Out extends Transition> = ReturnType<__sveltets_Render<T, In, Out>['props']>;
export type AlertDialogContentEvents<T extends Transition, In extends Transition, Out extends Transition> = ReturnType<__sveltets_Render<T, In, Out>['events']>;
export type AlertDialogContentSlots<T extends Transition, In extends Transition, Out extends Transition> = ReturnType<__sveltets_Render<T, In, Out>['slots']>;
export default class AlertDialogContent<T extends Transition, In extends Transition, Out extends Transition> extends SvelteComponent<AlertDialogContentProps<T, In, Out>, AlertDialogContentEvents<T, In, Out>, AlertDialogContentSlots<T, In, Out>> {
}
export {};
|