@scalar/api-client
Version:
the open source API testing client
30 lines • 1.27 kB
TypeScript
import type { Environment } from '@scalar/oas-utils/entities/environment';
import { type Collection, type Oauth2Flow, type SecuritySchemeOauth2, type Server } from '@scalar/oas-utils/entities/spec';
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
import type { EnvVariable } from '../../../../store/active-entities.js';
type __VLS_Props = {
collection: Collection;
environment: Environment;
envVariables: EnvVariable[];
flow: Oauth2Flow;
persistAuth: boolean;
scheme: SecuritySchemeOauth2;
server: Server | undefined;
workspace: Workspace;
};
type __VLS_Slots = {
'oauth-actions'?: () => unknown;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
authorized: () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onAuthorized?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=OAuth2.vue.d.ts.map