import { AppBskyActorDefs } from "@atproto/api";
/**
 * formats a user's handle for display, falling back to DID if handle is invalid
 */
export declare function formatHandle(profile: Pick<AppBskyActorDefs.ProfileViewBasic, "handle" | "did">, prefix?: string): string;
/**
 * convenience function for formatting a user's handle with @ prefix for display,
 * falling back to DID if handle is invalid
 */
export declare function formatHandleWithAt(profile: Pick<AppBskyActorDefs.ProfileViewBasic, "handle" | "did">): string;
//# sourceMappingURL=format-handle.d.ts.map