vue3-openlayers
Version:
OpenLayers Wrapper for Vue3
53 lines (51 loc) • 2.02 kB
TypeScript
import { default as VideoRecorder, Options } from 'ol-ext/control/VideoRecorder';
import { ObjectEvent } from 'ol/Object';
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
import { default as __DTS_DEFAULT_0__ } from 'ol/events/Event';
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Options & {
downloadName?: string;
}>, {
downloadName: string;
}>, {
control: ComputedRef<VideoRecorder>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
change: (event: __DTS_DEFAULT_0__) => void;
error: (event: __DTS_DEFAULT_0__) => void;
propertychange: (event: ObjectEvent) => void;
start: (...args: any[]) => void;
stop: (...args: any[]) => void;
pause: (...args: any[]) => void;
result: (...args: any[]) => void;
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Options & {
downloadName?: string;
}>, {
downloadName: string;
}>>> & {
onChange?: ((event: __DTS_DEFAULT_0__) => any) | undefined;
onError?: ((event: __DTS_DEFAULT_0__) => any) | undefined;
onPause?: ((...args: any[]) => any) | undefined;
onPropertychange?: ((event: ObjectEvent) => any) | undefined;
onStop?: ((...args: any[]) => any) | undefined;
onStart?: ((...args: any[]) => any) | undefined;
onResult?: ((...args: any[]) => any) | undefined;
}, {
downloadName: string;
}, {}>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: PropType<T[K]>;
required: true;
};
};
type __VLS_WithDefaults<P, D> = {
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
default: D[K];
}> : P[K];
};
type __VLS_Prettify<T> = {
[K in keyof T]: T[K];
} & {};