import { Node } from '../../Node'; import { OAuthAuthorizationCodeFlow } from './OAuthAuthorizationFlow'; import { OAuthClientCredentialsFlow } from './OAuthClientCredentialsFlow'; import { OAuthImplicitFlow } from './OAuthImplicitFlow'; import { OAuthPasswordFlow } from './OAuthPasswordFlow'; import type { OAuthFlowsModel } from '../../types'; import type { OAuth2SecuritySchema } from '../OAuth2SecuritySchema'; import type { Nullable, URLString } from '@fresha/api-tools-core'; export type OAuthFlowsParent = OAuth2SecuritySchema; export declare class OAuthFlows extends Node implements OAuthFlowsModel { #private; constructor(parent: OAuthFlowsParent); get implicit(): Nullable; addImplicitFlow(authorizationUrl: URLString, refreshUrl: URLString): OAuthImplicitFlow; deleteImplicitFlow(): void; get password(): Nullable; addPasswordFlow(tokenUrl: URLString, refreshUrl: URLString): OAuthPasswordFlow; deletePasswordFlow(): void; get clientCredentials(): Nullable; addClientCredentialsFlow(tokenUrl: URLString, refreshUrl: URLString): OAuthClientCredentialsFlow; deleteClientCredentialsFlow(): void; get authorizationCode(): Nullable; addAuthorizationCodeFlow(authorizationUrl: URLString, tokenUrl: URLString, refreshUrl: URLString): OAuthAuthorizationCodeFlow; deleteAuthorizationCodeFlow(): void; } //# sourceMappingURL=OAuthFlows.d.ts.map