@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
22 lines (21 loc) • 618 B
TypeScript
/**
* Parsed payload of one `USE EMAIL` commitment.
*
* @private internal USE EMAIL type
*/
export type ParsedUseEmailCommitmentContent = {
senderEmail: string | null;
senderEmailRaw: string | null;
instructions: string;
};
/**
* Parses `USE EMAIL` commitment content into optional sender email + additional instructions.
*
* Examples:
* - `agent@example.com`
* - `agent@example.com Keep emails concise`
* - `Keep emails concise`
*
* @private internal utility of USE EMAIL commitment
*/
export declare function parseUseEmailCommitmentContent(content: string): ParsedUseEmailCommitmentContent;