import BaseResource from '../../BaseResource';
import type * as ApiTypes from '../ApiTypes';
import type * as RawApiTypes from '../RawApiTypes';
export default class Session extends BaseResource {
    static readonly TYPE: "session";
    /**
     * Create a new session
     *
     * Read more: https://www.datocms.com/docs/content-management-api/resources/session/create
     *
     * @throws {ApiError}
     * @throws {TimeoutError}
     *
     * @deprecated This API call is to be considered private and might change without notice
     */
    create(body: ApiTypes.SessionCreateSchema): Promise<ApiTypes.Session>;
    /**
     * Create a new session
     *
     * Read more: https://www.datocms.com/docs/content-management-api/resources/session/create
     *
     * @throws {ApiError}
     * @throws {TimeoutError}
     *
     * @deprecated This API call is to be considered private and might change without notice
     */
    rawCreate(body: RawApiTypes.SessionCreateSchema): Promise<RawApiTypes.SessionCreateTargetSchema>;
}
