File size: 1,689 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 |
import { SvelteComponent } from "svelte";
import type { Transition } from "../../../internal/index.js";
import type { ContentEvents, ContentProps } from "../types.js";
declare class __sveltets_Render<T extends Transition, In extends Transition, Out extends Transition> {
props(): ContentProps<T, In, Out>;
events(): ContentEvents;
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 DialogContentProps<T extends Transition, In extends Transition, Out extends Transition> = ReturnType<__sveltets_Render<T, In, Out>['props']>;
export type DialogContentEvents<T extends Transition, In extends Transition, Out extends Transition> = ReturnType<__sveltets_Render<T, In, Out>['events']>;
export type DialogContentSlots<T extends Transition, In extends Transition, Out extends Transition> = ReturnType<__sveltets_Render<T, In, Out>['slots']>;
export default class DialogContent<T extends Transition, In extends Transition, Out extends Transition> extends SvelteComponent<DialogContentProps<T, In, Out>, DialogContentEvents<T, In, Out>, DialogContentSlots<T, In, Out>> {
}
export {};
|