import { IbGib_V1 } from '@ibgib/ts-gib/dist/V1/types.mjs'; import { IbGibSpaceAny } from '@ibgib/core-gib/dist/witness/space/space-base-v1.mjs'; /** * Wrapper for alerting via atow capacitor modals. * * @returns FUNCTION that alerts (doesn't actually do the alert) */ export declare function getFnAlert(): ({ title, msg }: { title: string; msg: string; }) => Promise; /** * Wrapper for prompting via custom dialog function. * * @returns FUNCTION that prompts (doesn't actually do the prompt, just creates * the function that will) */ export declare function getFnPrompt(): ({ title, msg }: { title: string; msg: string; }) => Promise; /** * Wrapper for confirming via commandline/terminal prompt. * * @returns FUNCTION that prompts (doesn't actually do the prompt) */ export declare function getFnConfirm(): ({ title, msg, okButtonTitle, cancelButtonTitle }: { title: string; msg: string; okButtonTitle?: string; cancelButtonTitle?: string; }) => Promise; /** * Prompts the user for a password using an ionic capacitor (atow) alert * controller with an input of type `'password'`. * * * * @returns either the password or null if cancelled */ export declare function getFnPromptPassword(): (title: string, msg: string) => Promise; /** * Creates a function with a single `space` arg. This fn when called shows a * modal to create an secret ibgib. If the user chooses to save, then the * modal will create the secret ibgib, save the transform result in the * given `space` (atow this is the local user space), and return the new * secret ibgib. */ export declare function getFn_promptCreateSecretIbGib(): (space: IbGibSpaceAny) => Promise; /** * Creates a function with a single `space` arg. This fn when called shows a * modal to create an encryption ibgib. If the user chooses to save, then the * modal will create the encryption ibgib, save the transform result in the * given `space` (atow this is the local user space), and return the new * encryption ibgib. */ export declare function getFn_promptCreateEncryptionIbGib(): (space: IbGibSpaceAny) => Promise; /** * Creates a function with a single `space` arg. This fn when called shows a * modal to create an outerspace ibgib. If the user chooses to save, then the * modal will create the outerspace ibgib, save the transform result in the * given `space` (atow this is the local user space), and return the new * outerspace ibgib. */ export declare function getFn_promptCreateOuterSpaceIbGib(): (space: IbGibSpaceAny) => Promise; /** * Creates a function with a single `space` arg. This fn when called shows a * modal to mutate a pic ibgib. If the user chooses to save, then the modal will * perform the mutation, save the transform result in the given `space`, and * return the new pic ibgib. */ /** * Creates a function with a single `space` arg. This fn when called shows a * modal to mutate a comment ibgib. If the user chooses to save, then the modal will * perform the mutation, save the transform result in the given `space`, and * return the new comment ibgib. */ /** * Creates a function with a single `space` arg. This fn when called shows a * modal to create a robbot ibgib. If the user chooses to save, then the modal will * perform the mutation, save the transform result in the given `space`, and * return the new pic ibgib. */ /** * Creates a function with a single `space` arg. This fn when called shows a * modal to create a app ibgib. If the user chooses to save, then the modal will * perform the mutation, save the transform result in the given `space`, and * return the new pic ibgib. */ //# sourceMappingURL=prompt-functions.web.d.mts.map