import { FastifyReply, FastifyRequest } from "fastify";
import { AuthenticationState, InviteeState, User, UserAuthenticationRole } from "../../../../data";
export declare const path = "/invite/accept";
export declare const anonymous = true;
interface Body {
    stateKey: string;
    token: string;
    submit?: "login" | string;
}
type Result = {
    role: UserAuthenticationRole;
    user: User;
    changed?: boolean;
};
type InputSchema = {
    Querystring?: Partial<Body> & {
        state?: string;
        login?: string;
    };
    Body?: Body;
};
interface Input {
    stateId: string;
    state: InviteeState;
    deletableStates: AuthenticationState[];
}
export declare function handler(request: FastifyRequest<InputSchema>, response: FastifyReply): Promise<Input>;
export declare function submit(request: FastifyRequest<InputSchema>, response: FastifyReply, input: Input): Promise<Result>;
export declare function AcceptInvite(): import("react/jsx-runtime").JSX.Element;
export declare const Component: typeof AcceptInvite;
export {};
