stackpress
Version:
Incept is a content management framework.
9 lines (8 loc) • 757 B
TypeScript
import type { StatusResponse } from '@stackpress/lib/types';
import type Engine from '@stackpress/inquire/Engine';
import type { AuthExtended, ProfileAuth } from '../types/index.js';
import { ClientPlugin } from '../client/types.js';
import type { SignupInput, SigninType, SigninInput } from './types.js';
export declare function signup(input: Partial<SignupInput>, seed: string, engine: Engine, client: ClientPlugin): Promise<Partial<StatusResponse<ProfileAuth>>>;
export declare function signin(type: SigninType, input: Partial<SigninInput>, seed: string, engine: Engine, client: ClientPlugin, password?: boolean): Promise<Partial<StatusResponse<AuthExtended>>>;
export declare function assert(input: Partial<SignupInput>): Record<string, string> | null;