/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import * as runtime from '../runtime';
import type { ExpiringBaseGrantModel, PaginatedExpiringBaseGrantModelList, PaginatedTokenModelList, TokenModel, UsedBy } from '../models/index';
export interface Oauth2AccessTokensDestroyRequest {
    id: number;
}
export interface Oauth2AccessTokensListRequest {
    ordering?: string;
    page?: number;
    pageSize?: number;
    provider?: number;
    search?: string;
    user?: number;
}
export interface Oauth2AccessTokensRetrieveRequest {
    id: number;
}
export interface Oauth2AccessTokensUsedByListRequest {
    id: number;
}
export interface Oauth2AuthorizationCodesDestroyRequest {
    id: number;
}
export interface Oauth2AuthorizationCodesListRequest {
    ordering?: string;
    page?: number;
    pageSize?: number;
    provider?: number;
    search?: string;
    user?: number;
}
export interface Oauth2AuthorizationCodesRetrieveRequest {
    id: number;
}
export interface Oauth2AuthorizationCodesUsedByListRequest {
    id: number;
}
export interface Oauth2RefreshTokensDestroyRequest {
    id: number;
}
export interface Oauth2RefreshTokensListRequest {
    ordering?: string;
    page?: number;
    pageSize?: number;
    provider?: number;
    search?: string;
    user?: number;
}
export interface Oauth2RefreshTokensRetrieveRequest {
    id: number;
}
export interface Oauth2RefreshTokensUsedByListRequest {
    id: number;
}
/**
 *
 */
export declare class Oauth2Api extends runtime.BaseAPI {
    /**
     * Creates request options for oauth2AccessTokensDestroy without sending the request
     */
    oauth2AccessTokensDestroyRequestOpts(requestParameters: Oauth2AccessTokensDestroyRequest): Promise<runtime.RequestOpts>;
    /**
     * AccessToken Viewset
     */
    oauth2AccessTokensDestroyRaw(requestParameters: Oauth2AccessTokensDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
    /**
     * AccessToken Viewset
     */
    oauth2AccessTokensDestroy(requestParameters: Oauth2AccessTokensDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
    /**
     * Creates request options for oauth2AccessTokensList without sending the request
     */
    oauth2AccessTokensListRequestOpts(requestParameters: Oauth2AccessTokensListRequest): Promise<runtime.RequestOpts>;
    /**
     * AccessToken Viewset
     */
    oauth2AccessTokensListRaw(requestParameters: Oauth2AccessTokensListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTokenModelList>>;
    /**
     * AccessToken Viewset
     */
    oauth2AccessTokensList(requestParameters?: Oauth2AccessTokensListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTokenModelList>;
    /**
     * Creates request options for oauth2AccessTokensRetrieve without sending the request
     */
    oauth2AccessTokensRetrieveRequestOpts(requestParameters: Oauth2AccessTokensRetrieveRequest): Promise<runtime.RequestOpts>;
    /**
     * AccessToken Viewset
     */
    oauth2AccessTokensRetrieveRaw(requestParameters: Oauth2AccessTokensRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenModel>>;
    /**
     * AccessToken Viewset
     */
    oauth2AccessTokensRetrieve(requestParameters: Oauth2AccessTokensRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenModel>;
    /**
     * Creates request options for oauth2AccessTokensUsedByList without sending the request
     */
    oauth2AccessTokensUsedByListRequestOpts(requestParameters: Oauth2AccessTokensUsedByListRequest): Promise<runtime.RequestOpts>;
    /**
     * Get a list of all objects that use this object
     */
    oauth2AccessTokensUsedByListRaw(requestParameters: Oauth2AccessTokensUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
    /**
     * Get a list of all objects that use this object
     */
    oauth2AccessTokensUsedByList(requestParameters: Oauth2AccessTokensUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
    /**
     * Creates request options for oauth2AuthorizationCodesDestroy without sending the request
     */
    oauth2AuthorizationCodesDestroyRequestOpts(requestParameters: Oauth2AuthorizationCodesDestroyRequest): Promise<runtime.RequestOpts>;
    /**
     * AuthorizationCode Viewset
     */
    oauth2AuthorizationCodesDestroyRaw(requestParameters: Oauth2AuthorizationCodesDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
    /**
     * AuthorizationCode Viewset
     */
    oauth2AuthorizationCodesDestroy(requestParameters: Oauth2AuthorizationCodesDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
    /**
     * Creates request options for oauth2AuthorizationCodesList without sending the request
     */
    oauth2AuthorizationCodesListRequestOpts(requestParameters: Oauth2AuthorizationCodesListRequest): Promise<runtime.RequestOpts>;
    /**
     * AuthorizationCode Viewset
     */
    oauth2AuthorizationCodesListRaw(requestParameters: Oauth2AuthorizationCodesListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedExpiringBaseGrantModelList>>;
    /**
     * AuthorizationCode Viewset
     */
    oauth2AuthorizationCodesList(requestParameters?: Oauth2AuthorizationCodesListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedExpiringBaseGrantModelList>;
    /**
     * Creates request options for oauth2AuthorizationCodesRetrieve without sending the request
     */
    oauth2AuthorizationCodesRetrieveRequestOpts(requestParameters: Oauth2AuthorizationCodesRetrieveRequest): Promise<runtime.RequestOpts>;
    /**
     * AuthorizationCode Viewset
     */
    oauth2AuthorizationCodesRetrieveRaw(requestParameters: Oauth2AuthorizationCodesRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExpiringBaseGrantModel>>;
    /**
     * AuthorizationCode Viewset
     */
    oauth2AuthorizationCodesRetrieve(requestParameters: Oauth2AuthorizationCodesRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExpiringBaseGrantModel>;
    /**
     * Creates request options for oauth2AuthorizationCodesUsedByList without sending the request
     */
    oauth2AuthorizationCodesUsedByListRequestOpts(requestParameters: Oauth2AuthorizationCodesUsedByListRequest): Promise<runtime.RequestOpts>;
    /**
     * Get a list of all objects that use this object
     */
    oauth2AuthorizationCodesUsedByListRaw(requestParameters: Oauth2AuthorizationCodesUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
    /**
     * Get a list of all objects that use this object
     */
    oauth2AuthorizationCodesUsedByList(requestParameters: Oauth2AuthorizationCodesUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
    /**
     * Creates request options for oauth2RefreshTokensDestroy without sending the request
     */
    oauth2RefreshTokensDestroyRequestOpts(requestParameters: Oauth2RefreshTokensDestroyRequest): Promise<runtime.RequestOpts>;
    /**
     * RefreshToken Viewset
     */
    oauth2RefreshTokensDestroyRaw(requestParameters: Oauth2RefreshTokensDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
    /**
     * RefreshToken Viewset
     */
    oauth2RefreshTokensDestroy(requestParameters: Oauth2RefreshTokensDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
    /**
     * Creates request options for oauth2RefreshTokensList without sending the request
     */
    oauth2RefreshTokensListRequestOpts(requestParameters: Oauth2RefreshTokensListRequest): Promise<runtime.RequestOpts>;
    /**
     * RefreshToken Viewset
     */
    oauth2RefreshTokensListRaw(requestParameters: Oauth2RefreshTokensListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTokenModelList>>;
    /**
     * RefreshToken Viewset
     */
    oauth2RefreshTokensList(requestParameters?: Oauth2RefreshTokensListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTokenModelList>;
    /**
     * Creates request options for oauth2RefreshTokensRetrieve without sending the request
     */
    oauth2RefreshTokensRetrieveRequestOpts(requestParameters: Oauth2RefreshTokensRetrieveRequest): Promise<runtime.RequestOpts>;
    /**
     * RefreshToken Viewset
     */
    oauth2RefreshTokensRetrieveRaw(requestParameters: Oauth2RefreshTokensRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenModel>>;
    /**
     * RefreshToken Viewset
     */
    oauth2RefreshTokensRetrieve(requestParameters: Oauth2RefreshTokensRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenModel>;
    /**
     * Creates request options for oauth2RefreshTokensUsedByList without sending the request
     */
    oauth2RefreshTokensUsedByListRequestOpts(requestParameters: Oauth2RefreshTokensUsedByListRequest): Promise<runtime.RequestOpts>;
    /**
     * Get a list of all objects that use this object
     */
    oauth2RefreshTokensUsedByListRaw(requestParameters: Oauth2RefreshTokensUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
    /**
     * Get a list of all objects that use this object
     */
    oauth2RefreshTokensUsedByList(requestParameters: Oauth2RefreshTokensUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
}
//# sourceMappingURL=Oauth2Api.d.ts.map