File size: 2,179 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
/// <reference types="svelte" />
import type { CreateProgressProps } from './types.js';
export declare const createProgress: (props?: CreateProgressProps) => {
    elements: {
        root: import("../../internal/helpers/index.js").MeltElement<[{
            update: (updater: import("svelte/store").Updater<number | null>, sideEffect?: ((newValue: number | null) => void) | undefined) => void;
            set: (this: void, value: number | null) => void;
            subscribe(this: void, run: import("svelte/store").Subscriber<number | null>, invalidate?: import("svelte/store").Invalidator<number | null> | undefined): import("svelte/store").Unsubscriber;
            get: () => number | null;
            destroy?: (() => void) | undefined;
        }, import("../../internal/helpers/index.js").WithGet<import("svelte/store").Writable<number>>], import("svelte/action").Action<any, any, Record<never, any>>, ([$value, $max]: [number | null, number]) => {
            value: number | null;
            max: number;
            role: string;
            'aria-valuemin': number;
            'aria-valuemax': number;
            'aria-valuenow': number | null;
            'data-value': number | null;
            'data-state': string;
            'data-max': number;
        }, string>;
    };
    states: {
        value: {
            update: (updater: import("svelte/store").Updater<number | null>, sideEffect?: ((newValue: number | null) => void) | undefined) => void;
            set: (this: void, value: number | null) => void;
            subscribe(this: void, run: import("svelte/store").Subscriber<number | null>, invalidate?: import("svelte/store").Invalidator<number | null> | undefined): import("svelte/store").Unsubscriber;
            get: () => number | null;
            destroy?: (() => void) | undefined;
        };
    };
    options: import("../../internal/helpers/index.js").ToWritableStores<Omit<{
        defaultValue: number | null;
        value?: import("svelte/store").Writable<number | null> | undefined;
        onValueChange?: import("../../internal/helpers/index.js").ChangeFn<number | null> | undefined;
        max: number;
    }, "value">>;
};