import { AuthenticationState } from "../model/local/authenticationState.js";
import { AppRecordContent } from "../model/recordTypes/appRecord.js";
export interface StartAuthenticationOptions {
    icon?: Blob;
    signal?: AbortSignal;
}
declare function register(entity: string, appContent: AppRecordContent, { icon, signal }?: StartAuthenticationOptions): Promise<{
    flowUrl: string;
    state: AuthenticationState;
}>;
declare function complete(state: AuthenticationState, authorizationId: string): AuthenticationState;
export declare const Authentication: {
    register: typeof register;
    complete: typeof complete;
};
export {};
